First published: Wed Nov 30 2022(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Capnproto Capnproto | <0.7.1 | |
Capnproto Capnproto | >=0.9.0<0.9.2 | |
Capnproto Capnproto | >=0.10.0<0.10.3 | |
Capnproto Capnproto | =0.8.0 | |
Capnproto Capnp | <0.13.7 | |
Capnproto Capnp | >=0.14.0<0.14.11 | |
Capnproto Capnp | >=0.15.0<0.15.2 | |
Fedoraproject Fedora | =36 | |
Fedoraproject Fedora | =37 | |
<0.7.1 | ||
>=0.9.0<0.9.2 | ||
>=0.10.0<0.10.3 | ||
=0.8.0 | ||
<0.13.7 | ||
>=0.14.0<0.14.11 | ||
>=0.15.0<0.15.2 | ||
=36 | ||
=37 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-46149 is a vulnerability in Cap'n Proto that allows for out-of-bounds read due to a logic error handling.
The severity of CVE-2022-46149 is medium with a CVSS score of 5.4.
Versions 0.7.1, 0.8.1, 0.9.2, and 0.10.3 of Cap'n Proto, as well as versions of Cap'n Proto's Rust implementation prior to 0.13.7, 0.14.11, and 0.15.2 are affected by CVE-2022-46149.
You can find more information about CVE-2022-46149 on the official GitHub page of Cap'n Proto and the Fedora project's mailing list.
To fix CVE-2022-46149, it is recommended to update to versions 0.7.1, 0.8.1, 0.9.2, or 0.10.3 of Cap'n Proto, or versions 0.13.7, 0.14.11, or 0.15.2 of Cap'n Proto's Rust implementation.