PT-2022-16832
CVE-2022-24725
·
تاريخ النشر
2022-03-03
·
تاريخ التحديث
2023-06-23
الوصف من
CVSS 3.1
6.2
متوسطةالمقاييسAV: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, "~").قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾