SecurityContext

CVE-2024-41956: Soft Serve - Remote Code Execution

  • Cve: CVE-2024-41956
  • Name: Soft Serve - Remote Code Execution
  • Description: 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.
  • Impact: Attackers with commit access can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to version 0.7.5 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs commit access to a repository
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00509
  • Epss percentile: 0.44065
  • Assignee: [email protected]
  • Published at: 2024-08-01T22:15:29Z
  • Age in days: 845
  • Modified at: 2026-06-17T07:48:31Z
  • Patch available: yes
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-41956
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

UrlSourceTags
https://github.com/charmbracelet/soft-serve/commit/4daebdd422a6ba8c04162d023f8be355a8fe3184nvd
https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-m445-w3xr-vp2fnvd

Products

ProductAffectedPlatform boundSourcesUrl
charm:soft_serve< 0.7.5nocna_alias_text/v1/products/charm/soft_serve
charmbracelet:soft-serve< 0.7.5noadp_cpes/v1/products/charmbracelet/soft-serve

Projects

RepositoryLink kindsIndexedUrl
charmbracelet/soft-servecommit, fix, package, security_advisoryyes/v1/repositories/charmbracelet/soft-serve

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts