CVE-2022-46149

mediumPriorität · verfolgen · 22EPSS 0.009 · 61. PerzentilDEEUUS
grimoire priorityP3 · Track
Exploitable?
—
no known exploitation
Likely / severe?
0.93% (61st) EPSS
CVSS 5.4 · medium
Is it mine?
25 products
Prüfe deine Angriffsfläche
Who says so?
5 sources
cnnvd · enisa_euvd · osv · cert_bund

EPSS · bewertet 2026-10-27

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.

01

cvss

Technischer Schweregrad, 0–10. Eine Zeile je Quelle.

5.4
010

Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen

v3.15.4mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:Lprimary · NVD / NIST USAusnutzbarkeit 2.8 · Auswirkung 2.5
v3.15.4mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:Lsecondary · ENISA EU
v3.15.4mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:Lsecondary · security-advisories@github.comAusnutzbarkeit 2.2 · Auswirkung 2.7
v3.15.4mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:Lsecondary · OSV
v3.15mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L/E:Usecondary · CVSS-BT (t0sche)
02

SSVC

Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.

Trackcoordinatorcisa_ssvcUS
03

schwächen

Die CWE-Schwächeklassen, zu denen dies gehört.

04

betroffene Produkte (25)

Betroffene Produkte und Versionsbereiche.

20 von 25 angezeigt
05

Advisories (3)

Hersteller- und Ökosystem-Meldungen dazu.

  • WID-SEC-W-2023-0775Red Hat OpenShift: Schwachstelle ermöglicht Denial of ServiceDeutsch2023-03-27csaf · cert_bundDE

    Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Red Hat OpenShift ausnutzen, um einen Denial of Service Angriff durchzuführen oder Informationen offenzulegen.

  • GHSA-qqff-4vw4-f6hxCap'n Proto and its Rust implementation vulnerable to out-of-bounds read due to logic error handling list-of-list2022-12-05ghsa · osvUS

    The Cap'n Proto library and capnp Rust package are vulnerable to out-of-bounds read due to logic error handling list-of-list. If a message consumer expects data of type "list of pointers", and if the consumer performs certain specific actions on such data, then a message producer can cause the consumer to read out-of-bounds memory. This could trigger a process crash in the consumer, or in some cases could allow exfiltration of private in-memory data. Impact ====== - Remotely segfault a peer by sending it a malicious message, if the victim performs certain actions on a list-of-pointer type. - Possible exfiltration of memory, 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 below. At present, **we are not aware of any vulnerable application**, but we advise updating regardless. Fixed in ======== Unfortunately, the bug is present in inlined code, therefore the fix will require rebuilding dependent applications. C++ fix: - git commit [25d34c67863fd960af34fc4f82a7ca3362ee74b9][0] - release 0.11 (future) - release 0.10.3: - Unix: https://capnproto.org/capnproto-c++-0.10.3.tar.gz - Windows: https://capnproto.org/capnproto-c++-win32-0.10.3.zip - release 0.9.2: - Unix: https://capnproto.org/capnproto-c++-0.9.2.tar.gz - Windows: https://capnproto.org/capnproto-c++-win32-0.9.2.zip - release 0.8.1: - Unix: https://capnproto.org/capnproto-c++-0.8.1.tar.gz - Windows: https://capnproto.org/capnproto-c++-win32-0.8.1.zip - release 0.7.1: - Unix: https://capnproto.org/capnproto-c++-0.7.1.tar.gz - Windows: https://capnproto.org/capnproto-c++-win32-0.7.1.zip - release 0.5.4: - Unix: https://capnproto.org/capnproto-c++-0.5.4.tar.gz - Windows: https://capnproto.org/capnproto-c++-win32-0.5.4.zip Rust fix: - `capnp` crate version `0.15.2`, `0.14.11`, or `0.13.7` [0]: https://github.com/capnproto/capnproto/commit/25d34c67863fd960af34fc4f82a7ca3362ee74b9 Details ======= A specially-crafted pointer could escape bounds checking by exploiting inconsistent handling of pointers when a list-of-structs is downgraded to a list-of-pointers. For an in-depth explanation of how this bug works, see [David Renshaw's blog post](https://dwrensha.github.io/capnproto-rust/2022/11/30/out_of_bounds_memory_access_bug.html). This details below focus only on determining whether an application is vulnerable. In order to be vulnerable, an application must have certain properties. First, the application must accept messages with a schema in which a field has list-of-pointer type. This includes `List(Text)`, `List(Data)`, `List(List(T))`, or `List(C)` where `C` is an interface type. In the following discussion, we will assume this field is named `foo`. Second, the application must accept a message of this schema from a malicious source, where the attacker can maliciously encode the pointer representing the field `foo`. Third, the application must call `getFoo()` to obtain a `List<T>::Reader` for the field, and then use it in one of the following two ways: 1. Pass it as the parameter to another message's `setFoo()`, thus copying the field into a new message. Note that copying the parent struct as a whole will *not* trigger the bug; the bug only occurs if the specific field `foo` is get/set on its own. 2. Convert it into `AnyList::Reader`, and then attempt to access it through that. This is much less likely; very few apps use the `AnyList` API. The dynamic API equivalents of these actions (`capnp/dynamic.h`) are also affected. If the application does these steps, the attacker may be able to cause the Cap'n Proto implementation to read beyond the end of the message. This could induce a segmentation fault. Or, worse, data that happened to be in memory immediately after the message might be returned as if it were part of the message. In the latter case, if the application then forwards that data back to the attacker or sends it to another third party, this could result in exfiltration of secrets. Any exfiltration of data would have the following limitations: * The attacker could exfiltrate no more than 512 KiB of memory immediately following the message buffer. * The attacker chooses in advance how far past the end of the message to read. * The attacker's message itself must be larger than the exfiltrated data. Note that a sufficiently large message buffer will likely be allocated using mmap() in which case the attack will likely segfault. * The attack can only work if the 8 bytes immediately following the exfiltrated data contains a valid in-bounds Cap'n Proto pointer. The easiest way to achieve this is if the pointer is null, i.e. 8 bytes of zero. * The attacker must specify exactly how much data to exfiltrate, so must guess exactly where such a valid pointer will exist. * If the exfiltrated data is not followed by a valid pointer, the attack will throw an exception. If an application has chosen to ignore exceptions (e.g. by compiling with `-fno-exceptions` and not registering an alternative exception callback) then the attack may be able to proceed anyway.

  • RUSTSEC-2022-0068out-of-bounds read possible when setting list-of-pointers2022-11-30vendor · osvUS

    If a message consumer expects data of type "list of pointers", and if the consumer performs certain specific actions on such data, then a message producer can cause the consumer to read out-of-bounds memory. This could trigger a process crash in the consumer, or in some cases could allow exfiltration of private in-memory data. The C++ Cap'n Proto library is also affected by this bug. See the [advisory](https://github.com/capnproto/capnproto/tree/master/security-advisories/2022-11-30-0-pointer-list-bounds.md) on the main Cap'n Proto repo for a succinct description of the exact circumstances in which the problem can arise.

06

auch bekannt als (5)

Weitere Namen und Kennungen dieser Entität.

07

quellen

Welche Quellen diesen Datensatz belegen und wann.

veröffentlicht 2022-11-30geändert 2026-06-17
08

Referenzen (21)

Externe Belege — Patches, Meldungen, Analysen.

scry

Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.

Kostenloser Scan