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


0.0
medium

Snyk CVSS

    Attack Complexity High
    Scope Changed

    Threat Intelligence

    EPSS 0.13% (48th percentile)
Expand this section
NVD
5.4 medium
Expand this section
Red Hat
5.4 medium
Expand this section
SUSE
5.4 medium

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 ID SNYK-RUST-CAPNP-3152685
  • published 1 Dec 2022
  • disclosed 1 Dec 2022
  • credit David Renshaw

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.