{"id":"CVE-2023-22486","state":"PUBLISHED","title":"cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service","description":"cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 contain a  polynomial time complexity issue in handle_close_bracket that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7.","publishedAt":"2023-01-24T02:30:29.099Z","updatedAt":"2025-03-10T21:20:44.634Z","severity":{"score":3.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["github cmark-gfm"],"affected":[{"vendor":"github","product":"cmark-gfm","versions":[{"version":"< 0.29.0.gfm.7","status":"affected"}]}],"references":["https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p"],"weaknesses":["CWE-400","CWE-407"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/22xxx/CVE-2023-22486.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-22486","state":"PUBLISHED","datePublished":"2023-01-24T02:30:29.099Z","dateUpdated":"2025-03-10T21:20:44.634Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-12-29T17:41:28.088Z"},"containers":{"cna":{"title":"cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service","descriptions":[{"lang":"en","value":"cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 contain a  polynomial time complexity issue in handle_close_bracket that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7."}],"affected":[{"vendor":"github","product":"cmark-gfm","versions":[{"version":"< 0.29.0.gfm.7","status":"affected"}]}],"references":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p","name":"https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"LOW","baseScore":3.5,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-407","lang":"en","description":"CWE-407: Inefficient Algorithmic Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-01-24T02:30:29.099Z"},"source":{"advisory":"GHSA-r572-jvj2-3m8p","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p","name":"https://github.com/github/cmark-gfm/security/advisories/GHSA-r572-jvj2-3m8p","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:13:48.528Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T21:01:28.079210Z","id":"CVE-2023-22486","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:20:44.634Z"}}]}}}