CVE-2022-40896
Pygments vulnerable to ReDoS
5.5
MEDIUM
CVSS 3.1
EPSS 0.07%
Description
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
How to fix CVE-2022-40896
To remediate CVE-2022-40896, upgrade the affected package to a fixed version below.
- Debian/pygments—no fix listed
- PyPI/pygments—upgrade to 2.15.0 or later
- —upgrade to 2.15.1 or later
Is CVE-2022-40896 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 2.15.0
- from 0, < 2.15.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |