CVE-2022-46149
Capnproto vulnerability
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.
Affected products
Capnproto, Capnp, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Capnproto runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9 · Patch
- github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hx · Patch
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z
- nvd.nist.gov/vuln/detail/CVE-2022-46149
- cve.org/CVERecord?id=CVE-2022-46149
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.