Products
Starship
- 1.0.0 - 1.19.9
Source
security-advisories@github.com
Tags
CVE-2024-41815 details
Published : July 26, 2024, 9:15 p.m.
Last Modified : July 26, 2024, 9:15 p.m.
Last Modified : July 26, 2024, 9:15 p.m.
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
1 | 2 | 3 | 4 | 5 | 6 | 7.4 | 8 | 9 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. |
CVSS Data
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Base Score
7.4
Exploitability Score
1.4
Impact Score
5.9
Base Severity
HIGH
Vector String : CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
URL | Source |
---|---|
https://github.com/starship/starship/commit/cfc58161e0ec595db90af686ad77a73df6d44d74 | security-advisories@github.com |
https://github.com/starship/starship/releases/tag/v1.20.0 | security-advisories@github.com |
https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5 | security-advisories@github.com |
This website uses the NVD API, but is not approved or certified by it.