Out-of-bounds Read Affecting capnproto package, versions <0.9.2-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-CAPNPROTO-3151076
  • published1 Dec 2022
  • disclosed30 Nov 2022

Introduced: 30 Nov 2022

CVE-2022-46149  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Debian:unstable capnproto to version 0.9.2-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream capnproto package and not the capnproto package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

Cap'n Proto is a data interchange format and remote procedure call (RPC) system. Cap'n Proro prior to versions 0.7.1, 0.8.1, 0.9.2, and 0.10.3, as well as versions of Cap'n Proto's Rust implementation prior to 0.13.7, 0.14.11, and 0.15.2 are vulnerable to out-of-bounds read due to logic error handling list-of-list. This issue may lead someone to remotely segfault a peer by sending it a malicious message, if the victim performs certain actions on a list-of-pointer type. Exfiltration of memory is possible if the victim performs additional certain actions on a list-of-pointer type. To be vulnerable, an application must perform a specific sequence of actions, described in the GitHub Security Advisory. The bug is present in inlined code, therefore the fix will require rebuilding dependent applications. Cap'n Proto has C++ fixes available in versions 0.7.1, 0.8.1, 0.9.2, and 0.10.3. The capnp Rust crate has fixes available in versions 0.13.7, 0.14.11, and 0.15.2.

CVSS Scores

version 3.1