{"id":"EUVD-2023-2549","enisaUuid":"37d2f482-917b-378e-ac9f-a9eaa6b13974","description":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `0.0.0-20230922105210-14b16010c2ee`, which corresponds with commit `14b16010c2ee7ff33a940a541d993bd043a88940`, parsing malformed markdown input with parser that uses parser.Mmark extension could result in out-of-bounds read vulnerability. To exploit the vulnerability, parser needs to have `parser.Mmark` extension set. The panic occurs inside the `citation.go` file on the line 69 when the parser tries to access the element past its length. This can result in a denial of service. Commit `14b16010c2ee7ff33a940a541d993bd043a88940`/pseudoversion `0.0.0-20230922105210-14b16010c2ee` contains a patch for this issue.","datePublished":"Sep 22, 2023, 4:55:33 PM","dateUpdated":"Sep 24, 2024, 7:27:42 PM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/gomarkdown/markdown/security/advisories/GHSA-m9xq-6h2j-65r2\nhttps://github.com/gomarkdown/markdown/commit/14b16010c2ee7ff33a940a541d993bd043a88940\nhttps://github.com/gomarkdown/markdown/blob/7478c230c7cd3e7328803d89abe591d0b61c41e4/parser/citation.go#L69\n","aliases":"CVE-2023-42821\nGHSA-m9xq-6h2j-65r2\n","assigner":"GitHub_M","epss":1.25,"enisaIdProduct":[{"id":"767ed064-9983-3d6a-a979-851d3cf29397","product":{"name":"markdown","vendor":{"name":"gomarkdown"}},"product_version":"\u003c 0.0.0-20230922105210-14b16010c2ee"}],"enisaIdVendor":[{"id":"95ceebb3-56a2-3e6e-a888-be34a32faf30","vendor":{"name":"gomarkdown"}}],"enisaIdVulnerability":[{"id":"c7a10f79-7121-3811-a9d9-7ddeefe91c7a","vulnerability":{"id":"CVE-2023-42821","description":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `0.0.0-20230922105210-14b16010c2ee`, which corresponds with commit `14b16010c2ee7ff33a940a541d993bd043a88940`, parsing malformed markdown input with parser that uses parser.Mmark extension could result in out-of-bounds read vulnerability. To exploit the vulnerability, parser needs to have `parser.Mmark` extension set. The panic occurs inside the `citation.go` file on the line 69 when the parser tries to access the element past its length. This can result in a denial of service. Commit `14b16010c2ee7ff33a940a541d993bd043a88940`/pseudoversion `0.0.0-20230922105210-14b16010c2ee` contains a patch for this issue.","datePublished":"Sep 22, 2023, 4:55:33 PM","dateUpdated":"Sep 24, 2024, 7:27:42 PM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/gomarkdown/markdown/security/advisories/GHSA-m9xq-6h2j-65r2\nhttps://github.com/gomarkdown/markdown/commit/14b16010c2ee7ff33a940a541d993bd043a88940\nhttps://github.com/gomarkdown/markdown/blob/7478c230c7cd3e7328803d89abe591d0b61c41e4/parser/citation.go#L69\n","enisa_id":"EUVD-2023-2549\n","assigner":"GitHub_M","epss":1.25,"dataProcessed":"Nov 16, 2026, 7:19:39 AM","vulnerabilityProduct":[{"id":"4a0a93b3-b748-3b46-888d-ef8f594cb409","product":{"name":"markdown","vendor":{"name":"gomarkdown"}},"product_version":"\u003c 0.0.0-20230922105210-14b16010c2ee"}],"vulnerabilityVendor":[{"id":"ee3d1955-a55c-3e13-bd98-7777f38fde3d","vendor":{"name":"gomarkdown"}}]}},{"id":"cb619d39-b38b-3bca-bf71-691db2f34cfd","vulnerability":{"id":"GHSA-m9xq-6h2j-65r2","description":"Markdown vulnerable to Out-of-bounds Read while parsing citations","datePublished":"Sep 22, 2023, 7:59:49 PM","dateUpdated":"Sep 27, 2023, 1:55:11 PM","baseScore":null,"references":"https://github.com/gomarkdown/markdown/security/advisories/GHSA-m9xq-6h2j-65r2\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-42821\nhttps://github.com/gomarkdown/markdown/commit/14b16010c2ee7ff33a940a541d993bd043a88940\nhttps://github.com/gomarkdown/markdown\nhttps://github.com/gomarkdown/markdown/blob/7478c230c7cd3e7328803d89abe591d0b61c41e4/parser/citation.go#L69\n","enisa_id":"EUVD-2023-2549\n","aliases":"GHSA-m9xq-6h2j-65r2\nCVE-2023-42821\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:33:56 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"164a185f-04a9-3c81-8aea-af05e2260605","advisory":{"id":"msrc_CVE-2023-42821","description":"github.com/gomarkdown/markdown Out-of-bounds Read while parsing citations","datePublished":"Sep 1, 2023, 12:00:00 AM","dateUpdated":"Feb 18, 2026, 2:21:00 AM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2023/msrc_cve-2023-42821.json\n","aliases":"CVE-2023-42821\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"04934664-50e1-3a71-b7fd-aa24e72fdb3f","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"3305449e-2aa4-320d-bc66-4aea895d1011","product":{"name":"2.0","vendor":{"name":"Smiths Medical"}}},{"id":"415569fd-0cc6-3468-b327-309a235590bd","product":{"name":"\u003ccbl2 cri-o 1.21.7-2","vendor":{"name":"Microsoft"}}},{"id":"43a94f4d-6d0e-3220-82a9-10a4d436bea6","product":{"name":"cbl2 cri-o 1.22.3-14","vendor":{"name":"Microsoft"}}},{"id":"5e7c0850-62d0-3697-82a5-f2db54dafd38","product":{"name":"cbl2 cri-o 1.21.7-2","vendor":{"name":"Microsoft"}}},{"id":"a55d850d-f28f-3b40-9ddd-c1fa41dc805a","product":{"name":"\u003ccbl2 cri-o 1.22.3-14","vendor":{"name":"Microsoft"}}},{"id":"c1b6840b-f4ef-3ca8-a258-eeb3318e37d3","product":{"name":"cri-o","vendor":{"name":"n/a"}}}]}}]}