PT-2021-5798 · Unknown+8 · Ansi-Regex+8
Published
2021-09-09
·
Updated
2025-11-18
·
CVE-2021-3807
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
ansi-regex (affected versions not specified)
Description
The issue is related to Inefficient Regular Expression Complexity, which could lead to a denial of service when parsing invalid ANSI escape codes. This can be exploited by a remote attacker to cause a denial of service. The vulnerability is mainly due to the sub-patterns
[[]()#;?]* and (?:;[-a-zA-Zd/#&.:=?%@~ ]*)*.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Bitbucket
Centos
Red Hat
Red Os
Rocky Linux
Suse
Ansi-Regex