{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-6992 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-6992 is a medium-severity memory corruption vulnerability in Cloudflare zlib, published on 4 Jan 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-2023-6992 and fix it if it is affected.\n\nWhat it is: CVE-2023-6992 is a medium-severity memory corruption vulnerability in Cloudflare zlib, published on 4 Jan 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-2023-6992 in the wild and no public exploit code.\n\nAffected product: Cloudflare zlib. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-6992/ (Markdown: https://insights.sbomify.com/CVE-2023-6992/index.md)","id":"CVE-2023-6992","markdown":"https://insights.sbomify.com/CVE-2023-6992/index.md","name":"CVE-2023-6992","record":{"aliases":["AZL-43663","AZL-43807","AZL-43870","AZL-43957","AZL-43969","AZL-44517","AZL-44754","AZL-44811","AZL-45174","AZL-45198","CLSA-2024-1716485905","GHSA-vww9-j87r-4cqh"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cloudflare zlib library","requires_auth":"none","summary":"A local attacker can cause denial of service in Cloudflare's zlib library via a crafted file triggering a heap-based buffer overflow during compression.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cloudflare","cpe":[{"product":"zlib","vendor":"cloudflare"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-126","name":"Buffer Over-read"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"Cloudflare version of zlib library was found to be vulnerable to memory corruption issues affecting the deflation algorithm implementation (deflate.c). The issues resulted from improper input validation and heap-based buffer overflow.\nA local attacker could exploit the problem during compression using a crafted malicious file potentially leading to denial of service of the software.\nPatches: The issue has been patched in commit  8352d10 https://github.com/cloudflare/zlib/commit/8352d108c05db1bdc5ac3bdf834dad641694c13c . The upstream repository is not affected.","ecosystems":[],"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 corruption issues is Cloudflare zlib implementation","id":"CVE-2023-6992","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Custom post types, Custom Fields \u0026 more \u003c= 5.0.4 - Authenticated (Contributor+) Stored Cross-Site Scripting","id":"CVE-2023-6993"},"packages":[],"prev":{"headline":"JSM file_get_contents() Shortcode \u003c 2.7.1 - Contributor+ SSRF","id":"CVE-2023-6991"},"products":["zlib"],"published":"2024-01-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"2024-09-06","vendors":["Cloudflare"]},"summary":"A local attacker can cause denial of service in Cloudflare's zlib library via a crafted file triggering a heap-based buffer overflow during compression.","url":"https://insights.sbomify.com/CVE-2023-6992/"}