Out-of-bounds Read Affecting capnp package, versions <0.13.7>=0.14.0 <0.14.11>=0.15.0 <0.15.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. 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-RUST-CAPNP-3152685
  • published1 Dec 2022
  • disclosed1 Dec 2022
  • creditDavid Renshaw

Introduced: 1 Dec 2022

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

How to fix?

Upgrade capnp to version 0.13.7, 0.14.11, 0.15.2 or higher.

Overview

capnp is a runtime library for Cap'n Proto data encoding

Affected versions of this package are vulnerable to Out-of-bounds Read. due to a logic error when handling a list-of-list. This allows attackers to remotely segfault a peer by sending it a malicious message, if the victim performs certain actions on a list-of-pointer type. The attacker may also retrieve 512 KiB of memory contents immediately following a message buffer if they know the address of a valid pointer.

CVSS Scores

version 3.1