PT-2021-3609
CVE-2021-27291
·
تاريخ النشر
2021-01-03
·
تاريخ التحديث
2023-08-14
الوصف من
CVSS 4.0
8.7
عاليةالمقاييسAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Pygments versions 1.1 through 2.7.3
Description
The issue is related to the use of regular expressions in the Pygments syntax highlighting program. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.
Recommendations
For Pygments versions 1.1 through 2.7.3, update to version 2.7.4 to resolve the issue.
As a temporary workaround, consider restricting the input to the lexers to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾