Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-48230— Cap'n Proto WebSocket message can cause crash

Quick assessment

Affected
capnproto capnproto
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

capnproto是capnproto开源的一个 Proto 序列化/RPC 系统-核心工具和C++库 capnproto 1.0版本和1.0.1版本存在安全漏洞,该漏洞源于使用WebSocket压缩的KJ HTTP库时存在缓冲区不足问题,攻击者可利用该漏洞引发拒绝服务(DOS)

CVSS 5.9 · Medium EPSS 1.89% · P79
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-48230

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cap'n Proto WebSocket message can cause crash
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
缓冲区下溢
Source: CVE Program / CVE List V5
Vulnerability Title
capnproto 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
capnproto是capnproto开源的一个 Proto 序列化/RPC 系统-核心工具和C++库 capnproto 1.0版本和1.0.1版本存在安全漏洞,该漏洞源于使用WebSocket压缩的KJ HTTP库时存在缓冲区不足问题,攻击者可利用该漏洞引发拒绝服务(DOS)
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
capnproto capnproto >= 1.0, < 1.0.1.1 -

II. Public POCs for CVE-2023-48230

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-48230

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-48230 (2)

Vendor Advisories for CVE-2023-48230 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-48230

No comments yet


Leave a comment