Skip to main content
← All vulnerabilities
CVE-2024-41956GO-2024-3019GHSA-M445-W3XR-VP2F

Soft Serve allows arbitrary code execution by crafting git-lfs requests

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • charmbracelet soft-serve

    fixed in 0.7.5

  • github.com/charmbracelet/soft-serveGo

    fixed in 0.7.5

References 2

GitHub · charmbracelet/soft-serve