CVE-2024-41815CWE-77

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

High · published July 26, 2024

CVSS v3.1
7.4
EPSS
0%
Percentile
39.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00463 · 39.2th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2024-07-26T21:01Z
EPSS history
Timeline
  • 26 JUL 21:01Z
    Starship vulnerable to shell injection via undocumented, unpredictable shell expansion in custom commands
    cvelistv5