CVE-2024-41815 - CVE House
Back to Database
Status published High CVE-2024-41815

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

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-41815

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

starship
Vulnerable Versions:
>= 1.0.0, < 1.20.0

Timeline

Official Publish: July 26th, 2024
Last Modified: August 2nd, 2024
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)