We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-41815

Starship vulnerable to shell injection via undocumented, unpredictable shell expansion in custom commands



AssignerGitHub_M
Reserved2024-07-22
Published2024-07-26
Updated2024-08-02

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.



HIGH: 7.4CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

>= 1.0.0, < 1.20.0
affected

References

https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5

https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d44d74

https://github.com/starship/starship/releases/tag/v1.20.0

cve.org CVE-2024-41815

nvd.nist.gov CVE-2024-41815

Download JSON

Share this page
https://cve.threatint.com
Subscribe to our newsletter to learn more about our work.