Live threats

All CVEs / Capnproto

CVE-2022-46149Capnproto

Medium 5.4 No auth needed

Priority
48
CVSS 3.1
5.4
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Nov 30, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Capnproto.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io capnp ≥ 0.15.0 < 0.15.2 0.15.2 cargo update -p capnp --precise 0.15.2
crates.io capnp ≥ 0.14.0 < 0.14.11 0.14.11 cargo update -p capnp --precise 0.14.11
crates.io capnp < 0.13.7 0.13.7 cargo update -p capnp --precise 0.13.7
crates.io capnp ≥ 0.0.0-0 < 0.13.7 0.13.7 cargo update -p capnp --precise 0.13.7
crates.io capnp ≥ 0.14.0-0 < 0.14.11 0.14.11 cargo update -p capnp --precise 0.14.11
crates.io capnp ≥ 0.15.0-0 < 0.15.2 0.15.2 cargo update -p capnp --precise 0.15.2

Per OSV / GitHub Advisories (GHSA-qqff-4vw4-f6hx, RUSTSEC-2022-0068). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
capnprotocapnproto< 0.7.1
capnprotocapnproto≥ 0.9.0 < 0.9.2
capnprotocapnproto≥ 0.10.0 < 0.10.3
capnprotocapnproto0.8.0
capnprotocapnp< 0.13.7
capnprotocapnp≥ 0.14.0 < 0.14.11
capnprotocapnp≥ 0.15.0 < 0.15.2
fedoraprojectfedora36
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.