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
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-2428 | 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. |
Github GHSA |
GHSA-vx24-x4mv-vwr5 | Starship vulnerable to shell injection via undocumented, unpredictable shell expansion in custom commands |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 19 Sep 2024 15:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Starship
Starship starship |
|
| Weaknesses | CWE-78 | |
| CPEs | cpe:2.3:a:starship:starship:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Starship
Starship starship |
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-08-02T04:46:52.696Z
Reserved: 2024-07-22T13:57:37.137Z
Link: CVE-2024-41815
Updated: 2024-08-02T04:46:52.696Z
Status : Modified
Published: 2024-07-26T21:15:14.370
Modified: 2024-11-21T09:33:07.663
Link: CVE-2024-41815
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA