PT-2022-23152
CVE-2022-36064
·
تاريخ النشر
2022-09-06
·
تاريخ التحديث
2023-07-21
الوصف من
CVSS 3.1
5.9
متوسطةالمقاييسAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Shescape versions prior to 1.5.10
Shescape version 1.5.9 for Bash
Description
An Inefficient Regular Expression Complexity issue affects Shescape users who utilize it to escape arguments for Unix shells, including Bash and Dash, particularly when using the
escape or escapeAll functions with the interpolation option set to true. This allows an attacker to cause polynomial backtracking or quadratic runtime in terms of the input string length due to vulnerable Regular Expressions. A workaround involves enforcing a maximum length on input strings to reduce the vulnerability's impact.Recommendations
For versions prior to 1.5.10, update to version 1.5.10 or later.
For version 1.5.9 used with Bash, update to version 1.5.10 or later.
As a temporary workaround, consider enforcing a maximum length on input strings to Shescape to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾