Skip to content

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

MediumCVSS 5.4 EPSS 0.95%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

16 packages: 9 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/capnproto(Ubuntu 14.04) = 0.2.1-1; = 0.4.0-1ubuntu1; = 0.4.0-1ubuntu2; = 0.4.0-1ubuntu2.1 +2 more No fix listed No fix yet
ubuntu/capnproto(Ubuntu 16.04) = 0.4.0-1ubuntu3; = 0.5.3-2ubuntu1; = 0.5.3-2ubuntu1.1; All versions No fix listed No fix yet
ubuntu/capnproto(Ubuntu 22.04) = 0.7.0-7build1; = 0.8.0-2ubuntu2; All versions No fix listed No fix yet
ubuntu/capnproto(Ubuntu Pro 18.04) = 0.5.3-2ubuntu2; = 0.6.1-1; = 0.6.1-1ubuntu1; = 0.6.1-1ubuntu1+esm1 +1 more No fix listed No fix yet
ubuntu/capnproto(Ubuntu Pro 20.04) = 0.7.0-5; = 0.7.0-5build1; = 0.7.0-6; = 0.7.0-6ubuntu0.1~esm1 +1 more No fix listed No fix yet
ubuntu/interchange(Ubuntu 16.04) = 5.7.7-2; All versions No fix listed No fix yet
capnproto < 0.7.1; = 0.8.0; = < 0.7.1; = >= 0.8.0, < 0.8.1 +7 more 0.7.1, 0.9.2, 0.10.3 Fixed
capnproto capnp < 0.13.7; >= 0.14.0, < 0.14.11; >= 0.15.0, < 0.15.2 0.13.7, 0.14.11, 0.15.2 Fixed
crates.io capnp(crates.io) < 0.13.7; >= 0.0.0-0, < 0.13.7; >= 0.14.0, < 0.14.11; >= 0.14.0-0, < 0.14.11 +2 more 0.13.7, 0.14.11, 0.15.2 Fixed
debian/capnproto(Debian 12) < 0.9.2-2 0.9.2-2 Fixed
debian/capnproto(Debian 13) < 0.9.2-2 0.9.2-2 Fixed
debian/capnproto(Debian 14) < 0.9.2-2 0.9.2-2 Fixed
debian/rust-capnp(Debian 12) < 0.14.11-1.1 0.14.11-1.1 Fixed
debian/rust-capnp(Debian 13) < 0.14.11-1.1 0.14.11-1.1 Fixed
debian/rust-capnp(Debian 14) < 0.14.11-1.1 0.14.11-1.1 Fixed
fedoraproject fedora = 36; = 37 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io capnp(crates.io) >= 0.15.0, < 0.15.2 0.15.2
crates.io capnp(crates.io) >= 0.14.0, < 0.14.11 0.14.11
crates.io capnp(crates.io) < 0.13.7 0.13.7
crates.io capnp(crates.io) >= 0.0.0-0, < 0.13.7 0.13.7
crates.io capnp(crates.io) >= 0.14.0-0, < 0.14.11 0.14.11
crates.io capnp(crates.io) >= 0.15.0-0, < 0.15.2 0.15.2
capnproto = < 0.7.1 No fix listed
capnproto = >= 0.8.0, < 0.8.1 No fix listed
capnproto = >= 0.9.0, < 0.9.2 No fix listed
capnproto = >= 0.10.0, < 0.10.3 No fix listed
capnproto = >= 0.13.0, < 0.13.7 No fix listed
capnproto = >= 0.14.0, < 0.14.11 No fix listed
capnproto = >= 0.15.0, < 0.15.2 No fix listed
ubuntu/capnproto(Ubuntu:22.04) All versions No fix listed
capnproto < 0.7.1 0.7.1
capnproto >= 0.9.0, < 0.9.2 0.9.2
capnproto >= 0.10.0, < 0.10.3 0.10.3
capnproto = 0.8.0 No fix listed
capnproto capnp < 0.13.7 0.13.7
capnproto capnp >= 0.14.0, < 0.14.11 0.14.11
capnproto capnp >= 0.15.0, < 0.15.2 0.15.2
fedoraproject fedora = 36 No fix listed
fedoraproject fedora = 37 No fix listed
debian/capnproto(Debian:12) < 0.9.2-2 0.9.2-2
debian/capnproto(Debian:14) < 0.9.2-2 0.9.2-2
Show 28 more
ProductAffected versionsFixed in
debian/capnproto(Debian:13) < 0.9.2-2 0.9.2-2
debian/rust-capnp(Debian:12) < 0.14.11-1.1 0.14.11-1.1
debian/rust-capnp(Debian:14) < 0.14.11-1.1 0.14.11-1.1
debian/rust-capnp(Debian:13) < 0.14.11-1.1 0.14.11-1.1
ubuntu/capnproto(Ubuntu:14.04) All versions No fix listed
ubuntu/capnproto(Ubuntu:14.04) = 0.2.1-1 No fix listed
ubuntu/capnproto(Ubuntu:14.04) = 0.4.0~git20131030+e7d2778-0ubuntu1 No fix listed
ubuntu/capnproto(Ubuntu:14.04) = 0.4.0-1ubuntu1 No fix listed
ubuntu/capnproto(Ubuntu:14.04) = 0.4.0-1ubuntu2 No fix listed
ubuntu/capnproto(Ubuntu:14.04) = 0.4.0-1ubuntu2.1 No fix listed
ubuntu/capnproto(Ubuntu:16.04) All versions No fix listed
ubuntu/capnproto(Ubuntu:16.04) = 0.4.0-1ubuntu3 No fix listed
ubuntu/capnproto(Ubuntu:16.04) = 0.5.3-2ubuntu1 No fix listed
ubuntu/capnproto(Ubuntu:16.04) = 0.5.3-2ubuntu1.1 No fix listed
ubuntu/interchange(Ubuntu:16.04) All versions No fix listed
ubuntu/interchange(Ubuntu:16.04) = 5.7.7-2 No fix listed
ubuntu/capnproto(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/capnproto(Ubuntu:Pro:18.04) = 0.5.3-2ubuntu2 No fix listed
ubuntu/capnproto(Ubuntu:Pro:18.04) = 0.6.1-1 No fix listed
ubuntu/capnproto(Ubuntu:Pro:18.04) = 0.6.1-1ubuntu1 No fix listed
ubuntu/capnproto(Ubuntu:Pro:18.04) = 0.6.1-1ubuntu1+esm1 No fix listed
ubuntu/capnproto(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/capnproto(Ubuntu:Pro:20.04) = 0.7.0-5 No fix listed
ubuntu/capnproto(Ubuntu:Pro:20.04) = 0.7.0-5build1 No fix listed
ubuntu/capnproto(Ubuntu:Pro:20.04) = 0.7.0-6 No fix listed
ubuntu/capnproto(Ubuntu:Pro:20.04) = 0.7.0-6ubuntu0.1~esm1 No fix listed
ubuntu/capnproto(Ubuntu:22.04) = 0.7.0-7build1 No fix listed
ubuntu/capnproto(Ubuntu:22.04) = 0.8.0-2ubuntu2 No fix listed

References