CVE-2024-41815
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.46%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Starship 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.
- CVSS 3.1
- 7.0 HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.46% probability · 39th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-77, CWE-78
- Affected
- starship/starship
- Source
- security-advisories@github.com
References
- https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d44d74Patch
- https://github.com/starship/starship/releases/tag/v1.20.0Release Notes
- https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5Exploit, Vendor Advisory
- https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d44d74Patch
- https://github.com/starship/starship/releases/tag/v1.20.0Release Notes
- https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5Exploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.