CVE-2024-41956CWE-78

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

High · published August 1, 2024

CVSS v3.1
8.1
EPSS
1%
Percentile
42.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00509 · 42.6th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2024-08-01T22:07Z
EPSS history
Timeline
  • 01 AUG 22:07Z
    Soft Serve allows arbitrary code execution by crafting git-lfs requests
    cvelistv5