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.
Weakness
- CWE-125: Out-of-bounds Read
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-04-23 |
Timeline
- 2022-11-30Published by the CNA00:00 UTC
- 2022-12-05GitHub advisory published (GHSA-qqff-4vw4-f6hx)5 days after publication
- 2025-04-23CISA SSVC decision recorded875 days after publication
Exploit and advisory records
GitHub advisory GHSA-qqff-4vw4-f6hx, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| crates.io capnp | before 0.13.7 | 0.13.7 |
| crates.io capnp | from 0.14.0 before 0.14.11 | 0.14.11 |
| crates.io capnp | from 0.15.0 before 0.15.2 | 0.15.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| capnproto capnp | before 0.13.7fixed in 0.13.7from 0.14.0 before 0.14.11fixed in 0.14.11from 0.15.0 before 0.15.2fixed in 0.15.2 | 0.13.70.14.110.15.2 |
| capnproto capnproto | from 0.10.0 before 0.10.3fixed in 0.10.3before 0.7.1fixed in 0.7.1from 0.9.0 before 0.9.2fixed in 0.9.20.8.0no fix listed | 0.10.30.7.10.9.2not listed |
| fedoraproject fedora | 36no fix listed37no fix listed | not listednot listed |
References
- https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9
- https://github.com/capnproto/capnproto/security/advisories/GHSA-qqff-4vw4-f6hx
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EAHKLUMJAXJEV5BPBS5XXWBQ3ZTHGOLY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTS6TWD6K2NKXLEEFBPROQXMOFUTEYWY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WKXM4JAFXLTXU5IQB3OUBQVCIICZWGYX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZOCQQOPMVQOFUWBWAGVGN76OYAV3WXY4/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-46149'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-46149'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-46149'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-46149'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).