Skip to content

RUSTSEC-2022-0068: out-of-bounds read possible when setting list-of-pointers #12

Open
@github-actions

Description

@github-actions
Details
Package capnp
Version 0.15.0
URL https://github.com/capnproto/capnproto/tree/master/security-advisories/2022-11-30-0-pointer-list-bounds.md
Patched Versions >=0.15.2 OR ^0.14.11 OR ^0.13.7
Aliases CVE-2022-46149, GHSA-qqff-4vw4-f6hx

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
on the main Cap'n Proto repo for a succinct description of
the exact circumstances in which the problem can arise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions