Shescape before 2.1.15 and 3.0.2 Home Directory Disclosure via BusyBox
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.1.15 and 3.0.2.
Shescape before 2.1.15 (and 3.0.0 before 3.0.2) fails to properly escape tilde (~) characters in assignment contexts on Unix systems where the shell is explicitly configured to "sh" or true and /bin/sh points to BusyBox. Using the escape and escapeAll APIs with untrusted input in an assignment prefixed to a command, an attacker can inject a tilde payload to disclose the user's home directory location and, depending on usage, alter the location on which a command operates.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ericcornelissen | <2.1.15, >=3.0.0 <3.0.2 | 2.1.15, 3.0.2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket