Vulnerability · Published Jul 25, 2022 · Assigned by mitre
CVE-2022-34749
High 7.5
In plain English
A high-severity security flaw in the py3-mistune package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.6%top 23.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
In mistune through 2.0.2, support of inline markup is implemented by using regular expressions that can involve a high amount of backtracking on certain edge cases. This behavior is commonly named catastrophic backtracking.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-mistune | 2.0.3-r0 | ALPINE-CVE-2022-34749 |
| Alpine:v3.21 | py3-mistune | 2.0.3-r0 | ALPINE-CVE-2022-34749 |
| Alpine:v3.22 | py3-mistune | 2.0.3-r0 | ALPINE-CVE-2022-34749 |
| Alpine:v3.23 | py3-mistune | 2.0.3-r0 | ALPINE-CVE-2022-34749 |
| Alpine:v3.24 | py3-mistune | 2.0.3-r0 | ALPINE-CVE-2022-34749 |
| Debian:12 | mistune | 2.0.3-1 | DEBIAN-CVE-2022-34749 |
| Debian:13 | mistune | 2.0.3-1 | DEBIAN-CVE-2022-34749 |
| Debian:14 | mistune | 2.0.3-1 | DEBIAN-CVE-2022-34749 |
| PyPI | mistune | 2.0.3 | GHSA-fw3v-x4f2-v673 |
| PyPI | mistune | 2.0.3 | PYSEC-2022-237 |
| Ubuntu:22.04:LTS | mistune | no fix listed | UBUNTU-CVE-2022-34749 |