{"answers":{"affected":"3 open source packages ship an affected version, including golang.org/x/net/html and golang.org/x/net.","exploited":"There is no known exploitation of CVE-2024-45338 in the wild and no public exploit code.","fix":"Upgrade golang.org/x/net/html to 0.33.0 or later.","what":"CVE-2024-45338 is a medium-severity denial of service vulnerability in golang.org/x/net/html, published on 18 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-45338 and fix it if it is affected.\n\nWhat it is: CVE-2024-45338 is a medium-severity denial of service vulnerability in golang.org/x/net/html, published on 18 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-45338 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang.org/x/net/html (Go): affected all versions; fixed in 0.33.0\n- golang.org/x/net/html (Go): affected all versions; fixed in 0.33.0\n- golang.org/x/net (Go): affected all versions; fixed in 0.33.0\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-45338/ (Markdown: https://insights.sbomify.com/CVE-2024-45338/index.md)","id":"CVE-2024-45338","markdown":"https://insights.sbomify.com/CVE-2024-45338/index.md","name":"CVE-2024-45338","record":{"aliases":["AZL-54398","AZL-54401","AZL-54404","AZL-54407","AZL-54410","AZL-54413","AZL-54419","AZL-54422","AZL-54425","AZL-54428","AZL-54431","AZL-54434","AZL-54437","AZL-54440","AZL-54443","AZL-54446","AZL-54449","AZL-54452","AZL-54461","AZL-54464","AZL-54467","AZL-54470","AZL-54473","AZL-54477","AZL-54480","AZL-54483","AZL-54485","AZL-54488","AZL-54491","AZL-54498","AZL-54500","AZL-54507","AZL-54510","AZL-54512","AZL-54515","AZL-54519","AZL-54522","AZL-54524","AZL-54527","AZL-54531","AZL-54534","AZL-54540","AZL-54542","AZL-54546","AZL-54549","AZL-54555","AZL-54557","AZL-54562","AZL-54564","AZL-54567","AZL-64182","AZL-66912","CLEANSTART-2026-BC52043","CLEANSTART-2026-ZP53409","DEBIAN-CVE-2024-45338","ECHO-bfa4-ec43-0a8d","GHSA-w32m-9786-jp63","GO-2024-3333","MGASA-2026-0190","MINI-29j8-fvxp-2ffp","MINI-29ph-4wpp-9q4w","MINI-2mc2-hq6x-cwrc","MINI-2v97-2xj9-f92w","MINI-347h-8m93-4jrg","MINI-3g46-8cjr-548q","MINI-3q6q-ghvp-hvwf","MINI-3r29-vhj3-6m6h","MINI-438h-fhj8-p62h","MINI-449r-mcw9-g72x","MINI-4544-48j2-8v57","MINI-4j2v-gpr2-c927","MINI-4pww-qm5j-vq44","MINI-4xw7-67g6-wjxg","MINI-52q6-j7x7-w62v","MINI-56g7-8j3f-7887","MINI-5x4g-76j8-6p9q","MINI-5xj9-29hr-vvx4","MINI-649p-5qcv-5pqw","MINI-6m4p-j5cq-qr6x","MINI-6qgx-g888-7vx6","MINI-72fj-xhxp-j2m9","MINI-7377-gwvx-f4p6","MINI-7572-mg6j-7693","MINI-7mrw-5xfv-w42j","MINI-86mf-x2jx-jh2w","MINI-8fxg-838w-v2r3","MINI-8m5c-94gh-5hj6","MINI-9h4w-rw55-5c24","MINI-9p6v-53g2-mmh4","MINI-f49q-96v7-rj3j","MINI-fjqx-xrr7-9899","MINI-g3fp-jv6c-cpm7","MINI-g3hc-q6g2-q73x","MINI-g3wv-69g6-rgm4","MINI-gc3j-g6p8-5gcc","MINI-ggfp-7j8c-x4cg","MINI-ggxh-rxg4-f46h","MINI-gjh4-v93q-m8jf","MINI-gw8m-55hp-vxfg","MINI-hc3h-vmgx-5f8w","MINI-hcgj-p55r-99rf","MINI-hxf2-2vgp-x78h","MINI-j2w3-5fqm-g4f4","MINI-j94v-5g82-5w8v","MINI-jcfh-gj6f-82fq","MINI-jpr9-pwf5-g5fj","MINI-jv77-qg5c-cpjw","MINI-m245-85v9-hf64","MINI-m446-78rj-ccg2","MINI-mg8f-9938-5r88","MINI-mvw9-6w5w-8pjx","MINI-p734-wx9g-fw2m","MINI-pc34-7g9x-98vh","MINI-pqg7-4597-x5v4","MINI-qp34-fqg3-vv75","MINI-qq6r-9vw4-6gpj","MINI-qqr3-wwmv-577j","MINI-r9jh-9g76-gc82","MINI-rf37-pqcw-88c3","MINI-rf3w-gw59-r6mx","MINI-rjjr-7cx2-m94r","MINI-rwr6-9wqp-3frg","MINI-v84m-x6jf-9q27","MINI-v92j-xc8h-94rf","MINI-vcqq-4ffm-5cch","MINI-vhwf-2p7w-j983","MINI-vmww-m24v-6w3h","MINI-w2wf-x38m-xvg4","MINI-w9f4-rq5j-676r","MINI-wpx9-p3ww-2369","MINI-ww89-x2m4-w7cp","MINI-xfm3-g4hj-22r2","ROOT-APP-GOBINARY-CVE-2024-45338","UBUNTU-CVE-2024-45338","USN-7197-1","openSUSE-SU-2024:14606-1","openSUSE-SU-2025:14612-1","openSUSE-SU-2025:14639-1","openSUSE-SU-2025:14640-1","openSUSE-SU-2025:14666-1","openSUSE-SU-2025:14711-1","openSUSE-SU-2025:14721-1","openSUSE-SU-2025:14725-1","openSUSE-SU-2025:14907-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go HTML parser","requires_auth":"none","summary":"An attacker can cause a denial of service by crafting input that triggers non-linear parsing in the Go HTML library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Non-linear parsing of case-insensitive content in golang.org/x/net/html","id":"CVE-2024-45338","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":12,"n_references":4,"next":{"headline":"Vulnerability when creating log files in github.com/golang/glog","id":"CVE-2024-45339"},"packages":[{"ecosystem":"Go","fixed":["0.33.0"],"introduced":["0"],"last_affected":[],"package":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","source":"GO-2024-3333"},{"ecosystem":"Go","fixed":["0.33.0"],"introduced":["0"],"last_affected":[],"package":"golang.org/x/net/html","purl":null,"source":"GHSA-w32m-9786-jp63"},{"ecosystem":"Go","fixed":["0.33.0"],"introduced":["0"],"last_affected":[],"package":"golang.org/x/net/html","purl":"pkg:golang/golang.org/x/net/html","source":"GHSA-w32m-9786-jp63"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.1.1-2.1"],"introduced":["0"],"last_affected":[],"package":"hauler","purl":"pkg:rpm/opensuse/hauler\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14711-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.17.0-2.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:rpm/opensuse/helm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14725-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.170.0-1.1"],"introduced":["0"],"last_affected":[],"package":"helmfile","purl":"pkg:rpm/opensuse/helmfile\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14666-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.7.11-2.1"],"introduced":["0"],"last_affected":[],"package":"kepler","purl":"pkg:rpm/opensuse/kepler\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14640-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.1.7-1.1"],"introduced":["0"],"last_affected":[],"package":"kubelogin","purl":"pkg:rpm/opensuse/kubelogin\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14721-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.17.1-1.1"],"introduced":["0"],"last_affected":[],"package":"kured","purl":"pkg:rpm/opensuse/kured\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14907-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.9.3-1.1"],"introduced":["0"],"last_affected":[],"package":"sops","purl":"pkg:rpm/opensuse/sops\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14612-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["17.1.0-1.1"],"introduced":["0"],"last_affected":[],"package":"teleport","purl":"pkg:rpm/opensuse/teleport\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14606-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.44.6-1.1"],"introduced":["0"],"last_affected":[],"package":"yq","purl":"pkg:rpm/opensuse/yq\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14639-1"}],"prev":{"headline":"Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto","id":"CVE-2024-45337"},"products":["golang.org/x/net/html"],"published":"2024-12-18","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-21","vendors":["golang.org/x/net"]},"summary":"An attacker can cause a denial of service by crafting input that triggers non-linear parsing in the Go HTML library.","url":"https://insights.sbomify.com/CVE-2024-45338/"}