CVE-2024-41956
Soft Serve is a self-hostable Git server for the command line. …
Soft Serve is a self-hostable Git server for the command line. Prior to 0.7.5, it is possible for a user who can commit files to a repository hosted by Soft Serve to execute arbitrary code via environment manipulation and Git. The issue is that Soft Serve passes all environment variables given by the client to git subprocesses. This includes environment variables that control program execution, such as LD_PRELOAD. This vulnerability is fixed in 0.7.5.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/charmbracelet/soft-serve/commit/4daebdd422a6ba8c04162d023f8be355a8fe3184
- github.com/charmbracelet/soft-serve/security/advisories/GHSA-m445-w3xr-vp2f
- nvd.nist.gov/vuln/detail/CVE-2024-41956
- pkg.go.dev/vuln/GO-2024-3019
- github.com/advisories/GHSA-m445-w3xr-vp2f
- nvd.nist.gov/vuln/detail/CVE-2024-41956
- cve.org/CVERecord?id=CVE-2024-41956
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.