Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Starship | Starship | >= 1.0.0, < 1.20.0 |
Related Weaknesses (CWE)
References
- https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d4Patch
- https://github.com/starship/starship/releases/tag/v1.20.0Release Notes
- https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5ExploitVendor Advisory
- https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d4Patch
- https://github.com/starship/starship/releases/tag/v1.20.0Release Notes
- https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5ExploitVendor Advisory
FAQ
What is CVE-2024-41815?
CVE-2024-41815 is a vulnerability with a CVSS score of 7.4 (HIGH). 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 ...
How severe is CVE-2024-41815?
CVE-2024-41815 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-41815?
Check the references section above for vendor advisories and patch information. Affected products include: Starship Starship.