Categories
CVE-2024-41815

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

Summary

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

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Affected packages

crates.io starship
[{"type":"SEMVER","events":[{"introduced":"1.0.1-0"},{"fixed":"1.20.0"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details