CVE-2024-41815

NameCVE-2024-41815
DescriptionStarship is a cross-shell prompt. Starting in version 1.0.0 and prior to version 1.20.0, undocumented and unpredictable shell expansion and/or quoting rules make it easily to accidentally cause shell injection when using custom commands with starship in bash. This issue only affects users with custom commands, so the scope is limited, and without knowledge of others' commands, it could be hard to successfully target someone. Version 1.20.0 fixes the vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
starship (PTS)sid, trixie1.22.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
starshipsource(unstable)(not affected)

Notes

- starship <not-affected> (Fixed before initial upload to Debian)
https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5
Fixed by: https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d44d74 (v1.20.0)

Search for package or bug name: Reporting problems