CVE-2022-39209
Summary
| CVE | CVE-2022-39209 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-09-15 18:15:00 UTC |
| Updated | 2023-11-07 03:50:00 UTC |
| Description | cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to 0.29.0.gfm.6 a polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. Users may verify the patch by running `python3 -c 'print("![l"* 100000 + "\n")' | ./cmark-gfm -e autolink`, which will resource exhaust on unpatched cmark-gfm but render correctly on patched cmark-gfm. This vulnerability has been patched in 0.29.0.gfm.6. Users are advised to upgrade. Users unable to upgrade should disable the use of the autolink extension. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Time complexity - Wikipedia |
MISC |
en.wikipedia.org |
|
| Unbounded resource exhaustion may lead to denial of service · Advisory · github/cmark-gfm · GitHub |
CONFIRM |
github.com |
|
| Merge pull request from GHSA-cgh3-p57x-9q7q · github/cmark-gfm@9d57d8a · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 36 Update: ghc-cmark-gfm-0.2.5-1.fc36 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 37 Update: ghc-cmark-gfm-0.2.5-1.fc37 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: ghc-cmark-gfm-0.2.5-1.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 37 Update: ghc-cmark-gfm-0.2.5-1.fc37 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: ghc-cmark-gfm-0.2.5-1.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 36 Update: ghc-cmark-gfm-0.2.5-1.fc36 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 182768 Debian Security Update for ghostwriterr-cran-commonmarkcmark-gfm (CVE-2022-39209)
- 283285 Fedora Security Update for ghc (FEDORA-2022-6bcee2cc93)
- 283286 Fedora Security Update for ghc (FEDORA-2022-f1aed93db8)
- 283448 Fedora Security Update for ghc (FEDORA-2022-dc6d6d9d6c)
- 285321 Fedora Security Update for ghostwriter (FEDORA-2023-d1e9e62a92)