Skip to main content
← All vulnerabilities
CVE-2024-41815RUSTSEC-2024-0446GHSA-VX24-X4MV-VWR5

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.20.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • starship starship

    From 1.0.0 · fixed in 1.20.0

  • starshipcrates.io

    From 1.0.1-0 · fixed in 1.20.0

  • starshipcrates.io

    From 1.0.0 · fixed in 1.20.0

References 3

GitHub · starship/starship