CVE-2022-46149

NameCVE-2022-46149
DescriptionCap'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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1025821

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
capnproto (PTS)stretch0.5.3-2vulnerable
buster0.7.0-3vulnerable
bullseye0.7.0-7vulnerable
bookworm0.9.2-2fixed
sid, trixie1.0.1-4fixed
rust-capnp (PTS)bookworm0.14.11-1.2fixed
sid, trixie0.19.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
capnprotosourceexperimental0.9.2-1
capnprotosourcestretch(unfixed)end-of-life
capnprotosource(unstable)0.9.2-2
rust-capnpsource(unstable)0.14.11-1.11025821

Notes

[bullseye] - capnproto <no-dsa> (Breaks API and requires rebuilds, possibly via point release)
[buster] - capnproto <no-dsa> (Minor issue; breaks API)
https://github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hx
https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9
https://github.com/capnproto/capnproto/blob/master/security-advisories/2022-11-30-0-pointer-list-bounds.md
https://rustsec.org/advisories/RUSTSEC-2022-0068.html

Search for package or bug name: Reporting problems