CVE-2022-40023
HIGHCVSS 7.5/10EPSS 1.66%
Last modified
CVE-2022-40023 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.. EPSS estimates a 1.66% chance of exploitation in the next 30 days.
Description
Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sqlalchemy | Mako | < 1.2.2 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21Exploit, Third Party Advisory
- https://github.com/sqlalchemy/mako/issues/366Issue Tracking, Patch
- https://lists.debian.org/debian-lts-announce/2022/09/msg00026.htmlMailing List, Third Party Advisory
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/Exploit, Third Party Advisory
- https://pyup.io/vulnerabilities/CVE-2022-40023/50870/Third Party Advisory
- https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21Exploit, Third Party Advisory
- https://github.com/sqlalchemy/mako/issues/366Issue Tracking, Patch
- https://lists.debian.org/debian-lts-announce/2022/09/msg00026.htmlMailing List, Third Party Advisory
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/Exploit, Third Party Advisory
- https://pyup.io/vulnerabilities/CVE-2022-40023/50870/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-40023?
Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.
How severe is CVE-2022-40023?
CVE-2022-40023 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.66% probability of exploitation in the next 30 days.
How do I fix CVE-2022-40023?
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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-40010Tenda AC6 AC1200 Smart Dual-Band WiFi Router 15.03.06.50_mul…5.4
- CVE-2022-40011Typora through 1.3.8 allows XSS if a document containing an …6.1
- CVE-2022-40016Use After Free (UAF) vulnerability in ireader media-server b…7.5
- CVE-2022-4002A command injection vulnerability could allow an authenticat…7.2
- CVE-2022-40021QVidium Technologies Amino A140 (prior to firmware version 1…9.8
- CVE-2022-40022Microchip Technology (Microsemi) SyncServer S650 was discove…9.8
- CVE-2022-40026SourceCodester Simple Task Managing System v1.0 was discover…7.2
- CVE-2022-40027SourceCodester Simple Task Managing System v1.0 was discover…6.1
- CVE-2022-40028SourceCodester Simple Task Managing System v1.0 was discover…4.8
- CVE-2022-40029SourceCodester Simple Task Managing System v1.0 was discover…4.8
- CVE-2022-4003A denial-of-service vulnerability could allow an authenticat…6.5
- CVE-2022-40030SourceCodester Simple Task Managing System v1.0 was discover…9.8
Are you affected by CVE-2022-40023?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
