CWE
125
Advisory Published
Updated

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

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-46149?

    CVE-2022-46149 is a vulnerability in Cap'n Proto that allows for out-of-bounds read due to a logic error handling.

  • What is the severity of CVE-2022-46149?

    The severity of CVE-2022-46149 is medium with a CVSS score of 5.4.

  • Which versions of Cap'n Proto are affected by CVE-2022-46149?

    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.

  • Where can I find more information about 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.

  • How can I fix CVE-2022-46149?

    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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203