CVE-2024-41956

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

Published Aug 1, 2024 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2612 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.
Github GHSA Github GHSA GHSA-m445-w3xr-vp2f soft-serve vulnerable to arbitrary code execution by crafting git-lfs requests
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 2:47 PM
Reserved
Jul 24, 2024, 4:51 PM
Status
Deferred
Published
Aug 1, 2024, 10:15 PM
Modified
Jun 17, 2026, 7:48 AM