CVE-2024-41815

HIGH
Published Jul 26, 2024 Modified Nov 21, 2024 CWE-77 CWE-78

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.

Is your site exposed to CVE-2024-41815?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-77 CWE-77
CWE-78 OS Command Injection

Affected Products

Vendor Product
starship starship

References

Frequently Asked Questions

What is CVE-2024-41815? +
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. It has a CVSS v3.1 base score of 7.4 (HIGH).
How severe is CVE-2024-41815? +
CVE-2024-41815 has a CVSS v3.1 score of 7.4 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-41815? +
CVE-2024-41815 affects products from starship, specifically: starship. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-41815? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-41815 — free, no signup required.