Security mailing lists by PureSourceCode

CVE-2022-46149

MEDIUM 5.4CVSS 3.1

Cap'n Proto and its Rust implementation vulnerable to out-of-bounds read due to logic error handling list-of-list

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.

Published
30 Nov 2022
Last modified
9 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-125
Also known as
GHSA-qqff-4vw4-f6hxRUSTSEC-2022-0068
Sources
NVDJSONOSV GHSA-qqff-4vw4-f6hxJSONOSV RUSTSEC-2022-0068JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD capnproto capnproto
cpe:2.3:a:capnproto:capnproto:*:*:*:*:*:*:*:*
< 0.7.1 0.7.1
NVD capnproto capnproto
cpe:2.3:a:capnproto:capnproto:*:*:*:*:*:*:*:*
>= 0.9.0, < 0.9.2 0.9.2
NVD capnproto capnproto
cpe:2.3:a:capnproto:capnproto:*:*:*:*:*:*:*:*
>= 0.10.0, < 0.10.3 0.10.3
NVD capnproto capnproto
cpe:2.3:a:capnproto:capnproto:0.8.0:*:*:*:*:*:*:*
= 0.8.0
NVD capnproto capnp
cpe:2.3:a:capnproto:capnp:*:*:*:*:*:rust:*:*
< 0.13.7 0.13.7
NVD capnproto capnp
cpe:2.3:a:capnproto:capnp:*:*:*:*:*:rust:*:*
>= 0.14.0, < 0.14.11 0.14.11
NVD capnproto capnp
cpe:2.3:a:capnproto:capnp:*:*:*:*:*:rust:*:*
>= 0.15.0, < 0.15.2 0.15.2
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
OSV crates.io capnp >= 0.15.0, < 0.15.2 0.15.2
OSV crates.io capnp >= 0.14.0, < 0.14.11 0.14.11
OSV crates.io capnp < 0.13.7 0.13.7
OSV crates.io capnp >= 0.0.0-0, < 0.13.7; >= 0.14.0-0, < 0.14.11; >= 0.15.0-0, < 0.15.2 0.13.7, 0.14.11, 0.15.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 30 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.