CVE-2022-40896
MEDIUMCVSS 5.5/10EPSS 0.50%
Last modified
CVE-2022-40896 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pygments | Pygments | <= 2.15.0 |
References
- https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61Third Party Advisory
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/Exploit, Patch, Third Party Advisory
- https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61Third Party Advisory
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40896?
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
How severe is CVE-2022-40896?
CVE-2022-40896 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.50% probability of exploitation in the next 30 days.
How do I fix CVE-2022-40896?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2022-40896?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
