Security mailing lists by PureSourceCode

CVE-2024-41815

HIGH 7.0CVSS 3.1

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

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.

Published
26 Jul 2024
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-77CWE-78
Also known as
GHSA-vx24-x4mv-vwr5RUSTSEC-2024-0446
Sources
NVDJSONOSV GHSA-vx24-x4mv-vwr5JSONOSV RUSTSEC-2024-0446JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV RustSec CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD starship starship
cpe:2.3:a:starship:starship:*:*:*:*:*:*:*:*
>= 1.0.0, < 1.20.0 1.20.0
OSV crates.io starship >= 1.0.0, < 1.20.0 1.20.0
OSV crates.io starship >= 1.0.1-0, < 1.20.0 1.20.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 26 Jul 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Jul 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.