{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-48230 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-48230 is a medium-severity memory corruption vulnerability in capnproto, published on 21 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-48230 and fix it if it is affected.\n\nWhat it is: CVE-2023-48230 is a medium-severity memory corruption vulnerability in capnproto, published on 21 Nov 2023. 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-2023-48230 in the wild and no public exploit code.\n\nAffected product: capnproto. 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-48230/ (Markdown: https://insights.sbomify.com/CVE-2023-48230/index.md)","id":"CVE-2023-48230","markdown":"https://insights.sbomify.com/CVE-2023-48230/index.md","name":"CVE-2023-48230","record":{"aliases":["AZL-42681","DEBIAN-CVE-2023-48230","GHSA-r89h-f468-62w3"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Cap'n Proto library","requires_auth":"none","summary":"A remote attacker can cause a crash in Cap'n Proto's KJ HTTP library via a buffer underrun when WebSocket compression is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"capnproto","vendor":"capnproto"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-124","name":"Buffer Underwrite"}],"description":"Cap'n Proto is a data interchange format and capability-based RPC system. In versions 1.0 and 1.0.1, when using the KJ HTTP library with WebSocket compression enabled, a buffer underrun can be caused by a remote peer. The underrun always writes a constant value that is not attacker-controlled, likely resulting in a crash, enabling a remote denial-of-service attack. Most Cap'n Proto and KJ users are unlikely to have this functionality enabled and so unlikely to be affected. Maintainers suspect only the Cloudflare Workers Runtime is affected.\n\nIf KJ HTTP is used with WebSocket compression enabled, a malicious peer may be able to cause a buffer underrun on a heap-allocated buffer. KJ HTTP is an optional library bundled with Cap'n Proto, but is not directly used by Cap'n Proto. WebSocket compression is disabled by default. It must be enabled via a setting passed to the KJ HTTP library via `HttpClientSettings` or `HttpServerSettings`. The bytes written out-of-bounds are always a specific constant 4-byte string `{ 0x00, 0x00, 0xFF, 0xFF }`. Because this string is not controlled by the attacker, maintainers believe it is unlikely that remote code execution is possible. However, it cannot be ruled out. This functionality first appeared in Cap'n Proto 1.0. Previous versions are not affected.\n\nThis issue is fixed in Cap'n Proto 1.0.1.1.","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":"Cap'n Proto WebSocket message can cause crash","id":"CVE-2023-48230","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"Use-After-Free in win_close() in vim","id":"CVE-2023-48231"},"packages":[],"prev":{"headline":"Out-of-bounds write in the radio driver for Contiki-NG nRF platforms","id":"CVE-2023-48229"},"products":["capnproto"],"published":"2023-11-21","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2015-2311","kev_date_added":null,"published":"2017-08-09"},{"cvss_score":9.1,"headline":"Integer overflow in n/a","id":"CVE-2015-2310","kev_date_added":null,"published":"2017-08-09"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2015-2312","kev_date_added":null,"published":"2017-08-09"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2015-2313","kev_date_added":null,"published":"2017-08-09"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2017-7892","kev_date_added":null,"published":"2017-04-17"},{"cvss_score":6.3,"headline":"Cap'n Proto has an integer overflow in KJ-HTTP","id":"CVE-2026-32239","kev_date_added":null,"published":"2026-03-12"},{"cvss_score":6.3,"headline":"Cap'n Proto: Integer overflow in KJ-HTTP chunk size","id":"CVE-2026-32240","kev_date_added":null,"published":"2026-03-12"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["capnproto"]},"summary":"A remote attacker can cause a crash in Cap'n Proto's KJ HTTP library via a buffer underrun when WebSocket compression is enabled.","url":"https://insights.sbomify.com/CVE-2023-48230/"}