{"answers":{"affected":"3 open source packages ship an affected version, including github.com/gomarkdown/markdown.","exploited":"There is no known exploitation of CVE-2024-44337 in the wild and no public exploit code.","fix":"Upgrade github.com/gomarkdown/markdown to 0.0.0-20240729212818-a2a9c4f76ef5 or later.","what":"CVE-2024-44337 is a medium-severity denial of service vulnerability in n/a, published on 15 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-44337 and fix it if it is affected.\n\nWhat it is: CVE-2024-44337 is a medium-severity denial of service vulnerability in n/a, published on 15 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-44337 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/gomarkdown/markdown (Go): affected all versions; fixed in 0.0.0-20240729212818-a2a9c4f76ef5\n- github.com/gomarkdown/markdown (Go): affected all versions; fixed in 0.0.0-20240729212818-a2a9c4f76ef5\n- github.com/gomarkdown/markdown (Go): affected all versions; fixed in 0.0.0-20240729212818-a2a9c4f76ef5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-44337/ (Markdown: https://insights.sbomify.com/CVE-2024-44337/index.md)","id":"CVE-2024-44337","markdown":"https://insights.sbomify.com/CVE-2024-44337/index.md","name":"CVE-2024-44337","record":{"aliases":["AZL-50618","DEBIAN-CVE-2024-44337","GHSA-xhr3-wf7j-h255","GO-2024-3205","UBUNTU-CVE-2024-44337","openSUSE-SU-2025:14753-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go Markdown parser","requires_auth":"none","summary":"A remote attacker can cause a denial of service via infinite loop in the Go markdown parser library by providing crafted input.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[],"description":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `v0.0.0-20240729232818-a2a9c4f`, which corresponds with commit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252`, there was a logical problem in the paragraph function of the parser/block.go file, which allowed a remote attacker to cause a denial of service (DoS) condition by providing a tailor-made input that caused an infinite loop, causing the program to hang and consume resources indefinitely. Submit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252` contains fixes to this problem.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2024-10-15","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-10-15T13:44:20Z","kind":"github_poc","ref":"https://github.com/Brinmon/CVE-2024-44337","stars":2,"title":"CVE-2024-44337 POC  The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. which allowed a remote attacker to cause a denial of service (DoS) condition by providing a tailor-made input that caused an infinite loop, causing the program to hang and consume resources indefinitely."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Infinite loop in github.com/gomarkdown/markdown","id":"CVE-2024-44337","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":2,"next":{"headline":"Command injection in n/a","id":"CVE-2024-44340"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20240729212818-a2a9c4f76ef5"],"introduced":["0"],"last_affected":[],"package":"github.com/gomarkdown/markdown","purl":null,"source":"GHSA-xhr3-wf7j-h255"},{"ecosystem":"Go","fixed":["0.0.0-20240729212818-a2a9c4f76ef5"],"introduced":["0"],"last_affected":[],"package":"github.com/gomarkdown/markdown","purl":"pkg:golang/github.com/gomarkdown/markdown","source":"GHSA-xhr3-wf7j-h255"},{"ecosystem":"Go","fixed":["0.0.0-20240729212818-a2a9c4f76ef5"],"introduced":["0"],"last_affected":[],"package":"github.com/gomarkdown/markdown","purl":"pkg:golang/github.com/gomarkdown/markdown","source":"GO-2024-3205"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.14.0-1.1"],"introduced":["0"],"last_affected":[],"package":"fq","purl":"pkg:rpm/opensuse/fq\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14753-1"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2024-44336"},"products":["n/a"],"published":"2024-10-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-14","vendors":["n/a"]},"summary":"A remote attacker can cause a denial of service via infinite loop in the Go markdown parser library by providing crafted input.","url":"https://insights.sbomify.com/CVE-2024-44337/"}