ID CVE-2021-27291
Summary In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. 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.
References
Vulnerable Configurations
  • cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 08-08-2023 - 14:22)
Impact:
Exploitability:
CWE CWE-1333
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
Last major update 08-08-2023 - 14:22
Published 17-03-2021 - 13:15
Last modified 08-08-2023 - 14:22
Back to Top