CVE-2022-39209
Detail
Modified
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 Severity and Vector Strings:
NVD assessment
not yet provided.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
https://en.wikipedia.org/wiki/Time_complexity
CVE, GitHub, Inc.
Third Party Advisory
https://github.com/github/cmark-gfm/commit/9d57d8a23142b316282bdfc954cb0ecda40a8655
CVE, GitHub, Inc.
Patch
Third Party Advisory
https://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q
CVE, GitHub, Inc.
Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/
CVE, GitHub, Inc.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/
CVE, GitHub, Inc.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/
CVE, GitHub, Inc.
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-407
Inefficient Algorithmic Complexity
NIST
CWE-400
Uncontrolled Resource Consumption
GitHub, Inc.
Change History
10 change records found show changes
CVE Modified by CVE 11/21/2024 2:17:47 AM
Action
Type
Old Value
New Value
Added
Reference
https://en.wikipedia.org/wiki/Time_complexity
Added
Reference
https://github.com/github/cmark-gfm/commit/9d57d8a23142b316282bdfc954cb0ecda40a8655
Added
Reference
https://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/
CVE Modified by GitHub, Inc. 5/14/2024 7:19:23 AM
Action
Type
Old Value
New Value
CVE Modified by GitHub, Inc. 11/06/2023 10:50:21 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/ [No types assigned]
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/
Reanalysis by NIST 7/11/2023 4:54:13 PM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-407
Removed
CWE
NIST CWE-400
Modified Analysis by NIST 1/20/2023 7:34:33 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
OR
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc. 11/14/2022 10:15:26 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/UEAAAI4OULDYQ2TA3HOXH54PC3DCBFZS/ [No Types Assigned]
Modified Analysis by NIST 11/08/2022 8:43:56 AM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-400
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc. 11/05/2022 3:15:09 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/JIUCZN3PEKUCT2JQYQTYOVIJG2KSD6G7/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/JMGP65NANDVKPDMXMKYO2ZV2H2HZJY4P/ [No Types Assigned]
CVE Modified by GitHub, Inc. 10/17/2022 3:15:10 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Removed
CVSS V3.1
GitHub, Inc. AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Initial Analysis by NIST 9/19/2022 2:02:27 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Added
CPE Configuration
OR
*cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:* versions up to (excluding) 0.29.0.gfm.6
Changed
Reference Type
https://en.wikipedia.org/wiki/Time_complexity No Types Assigned
https://en.wikipedia.org/wiki/Time_complexity Third Party Advisory
Changed
Reference Type
https://github.com/github/cmark-gfm/commit/9d57d8a23142b316282bdfc954cb0ecda40a8655 No Types Assigned
https://github.com/github/cmark-gfm/commit/9d57d8a23142b316282bdfc954cb0ecda40a8655 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q No Types Assigned
https://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q Third Party Advisory
Quick Info
CVE Dictionary Entry: CVE-2022-39209 NVD
Published Date: 09/15/2022 NVD
Last Modified: 11/21/2024
Source: GitHub, Inc.