GHSA-fw3v-x4f2-v673

Suggest an improvement
Source
https://github.com/advisories/GHSA-fw3v-x4f2-v673
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-fw3v-x4f2-v673/GHSA-fw3v-x4f2-v673.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fw3v-x4f2-v673
Aliases
Published
2022-07-26T00:00:27Z
Modified
2024-09-25T20:29:29.582212Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
  • 8.8 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Mistune vulnerable to catastrophic backtracking
Details

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.

Database specific
{
    "nvd_published_at": "2022-07-25T23:15:00Z",
    "cwe_ids": [
        "CWE-1333"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-29T22:24:56Z"
}
References

Affected packages

PyPI / mistune

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0a1
Fixed
2.0.3

Affected versions

2.*

2.0.0a1
2.0.0a2
2.0.0a3
2.0.0a4
2.0.0a5
2.0.0a6
2.0.0rc1
2.0.0
2.0.1
2.0.2