CVE-2023-48230

CriticalCVSS 9.8/10Last modified Jun 17, 2026

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 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
capnprotocapnproto>= 1.0, < 1.0.1.1

References

Timeline

Published
Nov 21, 2023
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2023

CVE-2023-482314.3Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beCVE-2023-482324.3Vim is an open source command line text editor. A floating point exception may occur when calculating the line offset for overlong lines andCVE-2023-482334.3Vim is an open source command line text editor. If the count after the :s command is larger than what fits into a (signed) long variable, abCVE-2023-482344.3Vim is an open source command line text editor. When getting the count for a normal mode z command, it may overflow for large counts given. CVE-2023-482354.3Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an overflow. Ironically thiCVE-2023-482364.3Vim is an open source command line text editor. When using the z= command, the user may overflow the count with values larger than MAX_INT. CVE-2023-482374.3Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large valCVE-2023-482387.5joaquimserafim/json-web-token is a javascript library use to interact with JSON Web Tokens (JWT) which are a compact URL-safe means of repreCVE-2023-482397.1Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.1CVE-2023-48248.8The WooHoo Newspaper Magazine theme does not have CSRF check in place when updating its settings, which could allow attackers to make a loggCVE-2023-482408.8XWiki Platform is a generic wiki platform. The rendered diff in XWiki embeds images to be able to compare the contents and not display a difCVE-2023-482417.5XWiki Platform is a generic wiki platform. Starting in version 6.3-milestone-2 and prior to versions 14.10.15, 15.5.1, and 15.6RC1, the Solr
CVE-2023-48230: Critical severity, CVSS 9.8 | Vulnix