{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2023-45290 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.21.8 or 1.22.1.","what":"CVE-2023-45290 is a medium-severity denial of service vulnerability in Go standard library net/textproto, published on 5 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-45290 and fix it if it is affected.\n\nWhat it is: CVE-2023-45290 is a medium-severity denial of service vulnerability in Go standard library net/textproto, published on 5 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-45290 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.21.8, 1.22.1\n- stdlib (Go): affected all versions; fixed in 1.21.8, 1.22.1\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-2023-45290/ (Markdown: https://insights.sbomify.com/CVE-2023-45290/index.md)","id":"CVE-2023-45290","markdown":"https://insights.sbomify.com/CVE-2023-45290/index.md","name":"CVE-2023-45290","record":{"aliases":["ALSA-2024:3830","ALSA-2024:3831","AZL-37493","AZL-37504","AZL-79032","AZL-98844","BELL-CVE-2023-45290","BIT-golang-2023-45290","DEBIAN-CVE-2023-45290","GHSA-rr6r-cfgf-gc6h","GO-2024-2599","MINI-h3mh-xwrq-9xw8","MINI-m82j-fc3m-mjr8","MINI-mff7-r4wp-vpx5","RHSA-2024:3830","RHSA-2024:3831","RLSA-2024:3830","UBUNTU-CVE-2023-45290"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go standard library","requires_auth":"low_privilege","summary":"Attackers can cause memory exhaustion and denial of service by sending maliciously crafted multipart form data with very long lines to Go applications.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.","ecosystems":["AlmaLinux:9","Bitnami","Go","Red Hat:enterprise_linux:9::appstream","Rocky Linux:9"],"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":"Memory exhaustion in multipart form parsing in net/textproto and net/http","id":"CVE-2023-45290","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":11,"n_references":6,"next":{"headline":"reserved but not needed","id":"CVE-2023-45291"},"packages":[{"ecosystem":"Bitnami","fixed":["1.21.8","1.22.1"],"introduced":["0","1.22.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2023-45290"},{"ecosystem":"Go","fixed":["1.21.8","1.22.1"],"introduced":["0","1.22.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2024-2599"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.4.0-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2024:3831"},{"ecosystem":"AlmaLinux:9","fixed":["6:0.7.3-3.el9_4.alma.1"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock","purl":"pkg:rpm/almalinux/gvisor-tap-vsock","source":"ALSA-2024:3830"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.4.0-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/redhat/containernetworking-plugins","source":"RHSA-2024:3831"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.4.0-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins-debuginfo","purl":"pkg:rpm/redhat/containernetworking-plugins-debuginfo","source":"RHSA-2024:3831"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:1.4.0-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins-debugsource","purl":"pkg:rpm/redhat/containernetworking-plugins-debugsource","source":"RHSA-2024:3831"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["6:0.7.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock","purl":"pkg:rpm/redhat/gvisor-tap-vsock","source":"RHSA-2024:3830"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["6:0.7.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock-debuginfo","purl":"pkg:rpm/redhat/gvisor-tap-vsock-debuginfo","source":"RHSA-2024:3830"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["6:0.7.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock-debugsource","purl":"pkg:rpm/redhat/gvisor-tap-vsock-debugsource","source":"RHSA-2024:3830"},{"ecosystem":"Rocky Linux:9","fixed":["6:0.7.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"gvisor-tap-vsock","purl":"pkg:rpm/rocky-linux/gvisor-tap-vsock?distro=rocky-linux-9\u0026epoch=6","source":"RLSA-2024:3830"}],"prev":{"headline":"Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http","id":"CVE-2023-45289"},"products":["net/textproto"],"published":"2024-03-05","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Go standard library"]},"summary":"Attackers can cause memory exhaustion and denial of service by sending maliciously crafted multipart form data with very long lines to Go applications.","url":"https://insights.sbomify.com/CVE-2023-45290/"}