CVE-2024-41815
Last modified
CVE-2024-41815 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Starship | Starship | >= 1.0.0, < 1.20.0 |
References
- https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5Exploit, Vendor Advisory
- https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-41815?
How severe is CVE-2024-41815?
How do I fix CVE-2024-41815?
Are you affected by CVE-2024-41815?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
