CVE-2022-46149
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
capnpcrates.io | >= 0.15.0, < 0.15.2 | 0.15.2 |
capnpcrates.io | >= 0.14.0, < 0.14.11 | 0.14.11 |
capnpcrates.io | < 0.13.7 | 0.13.7 |
Affected products
10cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
- ghsa-coords4 versionspkg:cargo/capnppkg:rpm/opensuse/capnproto&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/python-pycapnp&distro=openSUSE%20Tumbleweedpkg:rpm/suse/capnproto&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4
>= 0.15.0, < 0.15.2+ 3 more
- (no CPE)range: >= 0.15.0, < 0.15.2
- (no CPE)range: < 0.9.1-150400.3.4.1
- (no CPE)range: < 2.0.0-2.5
- (no CPE)range: < 0.9.1-150400.3.4.1
Patches
Vulnerability mechanics
References
15- github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9nvdPatchThird Party AdvisoryWEB
- github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hxnvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-qqff-4vw4-f6hxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-46149ghsaADVISORY
- dwrensha.github.io/capnproto-rust/2022/11/30/out_of_bounds_memory_access_bug.htmlghsaWEB
- github.com/capnproto/capnproto/tree/master/security-advisories/2022-11-30-0-pointer-list-bounds.mdghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLYghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWYghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYXghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4ghsaWEB
- rustsec.org/advisories/RUSTSEC-2022-0068.htmlghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLY/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWY/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYX/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4/nvd
News mentions
0No linked articles in our index yet.