tocsin

CVE-2021-27291

2 advisories.

PyPI/pygments CVE-2021-27291: high 7.5, EPSS 3.91%

Pygments vulnerable to Regular Expression Denial of Service (ReDoS)

Action: Upgrade pygments to 2.7.4 or later.

pip install pygments==2.7.4

Affected

introducedfixedlast affected
1.12.7.4-

Fixed versions

2.7.4

Sources

CVE-2021-27291 · published · modified · JSON

PyPI/pygments CVE-2021-27291: unknown, EPSS 3.91%

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 an

Action: Upgrade pygments to 2.7.4 or later.

pip install pygments==2.7.4

Affected

introducedfixedlast affected
1.12.7.4-

Fixed versions

2.7.4

Sources

CVE-2021-27291 · published · modified · JSON