PT-2022-16832

CVE-2022-24725

·

Published

2022-03-03

·

Updated

2023-06-23

Description by

CVSS 3.1
6.2
Medium
MetricsAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions shescape versions 1.4.0 through 1.5.1
Description The issue allows for exposure of the home directory on Unix systems when using Bash with the escape or escapeAll functions from the shescape API with the interpolation option set to true. Other tested shells, Dash and Zsh, are not affected. Depending on how the output of shescape is used, directory traversal may be possible in the application using shescape .
Recommendations For versions 1.4.0 through 1.5.1, update to version 1.5.1 to resolve the issue. As a temporary workaround, consider manually escaping all instances of the tilde character (~) using arg.replace(/~/g, "~").
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-446W-RRM4-R47F
Found an issue in the description? Have something to add? Feel free to write us 👾