Skip to main content
← All vulnerabilities
CVE-2022-46149RUSTSEC-2022-0068GHSA-QQFF-4VW4-F6HX

Cap'n Proto vulnerable to out-of-bounds read due to logic error handling list-of-list.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.1, 0.8.1, 0.9.2, 0.10.3, 0.13.7, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • capnproto capnproto

    fixed in 0.7.1; From 0.8.0 · fixed in 0.8.1; From 0.9.0 · fixed in 0.9.2; From 0.10.0 · fixed in 0.10.3; From 0.13.0 · fixed in 0.13.7; From 0.14.0 · fixed in 0.14.11; From 0.15.0 · fixed in 0.15.2

  • capnpcrates.io

    From 0.0.0-0 · fixed in 0.13.7; From 0.14.0-0 · fixed in 0.14.11; From 0.15.0-0 · fixed in 0.15.2

  • capnpcrates.io

    From 0.15.0 · fixed in 0.15.2

  • capnpcrates.io

    From 0.14.0 · fixed in 0.14.11

  • capnpcrates.io

    fixed in 0.13.7

References 6

GitHub · capnproto/capnproto

lists.fedoraproject.org