Out-of-bounds Read Affecting capnproto/capnproto package, versions [,0.7.1)[0.8.0,0.8.1)[0.9.0,0.9.2)[0.10.0,0.10.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (22nd 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-UNMANAGED-CAPNPROTOCAPNPROTO-3151097
  • 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 capnproto/capnproto to version 0.7.1, 0.8.1, 0.9.2, 0.10.3 or higher.

Overview

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 Base Scores

version 3.1