CVE-2023-48230
Last modified
CVE-2023-48230 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.89% chance of exploitation in the next 30 days.
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. If 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. This issue is fixed in Cap'n Proto 1.0.1.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Capnproto | Capnproto | 1.0.0 |
| Capnproto | Capnproto | 1.0.1 |
References
- https://github.com/capnproto/capnproto/security/advisories/GHSA-r89h-f468-62w3Exploit, Patch, Vendor Advisory
- https://github.com/capnproto/capnproto/security/advisories/GHSA-r89h-f468-62w3Exploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-48230?
How severe is CVE-2023-48230?
How do I fix CVE-2023-48230?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-48225Laf is a cloud development platform. Prior to version 1.0.0-…9.1
- CVE-2023-48226OpenReplay is a self-hosted session replay suite. In version…3.5
- CVE-2023-48227Umbraco is an ASP.NET content management system (CMS). Start…4.3
- CVE-2023-48228authentik is an open-source identity provider. When initiali…9.8
- CVE-2023-48229Contiki-NG is an open-source, cross-platform operating syste…7.6
- CVE-2023-4823The WP Meta and Date Remover WordPress plugin before 2.2.0 p…5.4
- CVE-2023-48231Vim is an open source command line text editor. When closing…4.3
- CVE-2023-48232Vim is an open source command line text editor. A floating p…4.3
- CVE-2023-48233Vim is an open source command line text editor. If the count…4.3
- CVE-2023-48234Vim is an open source command line text editor. When getting…4.3
- CVE-2023-48235Vim is an open source command line text editor. When parsing…4.3
- CVE-2023-48236Vim is an open source command line text editor. When using t…4.3
Are you affected by CVE-2023-48230?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
