CVE-2024-41956

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductGithub.com/charmbracelet/soft-serve
PublishedAug 1, 2024
First seenAug 1, 2024

How to fix

Update
  • github.com/charmbracelet/soft-serve0.7.5 or later

Affected products

ProductAffected versionsFixed in
github.com/charmbracelet/soft-serveGov < 0.7.50.7.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.