hello-world.rs icon indicating copy to clipboard operation
hello-world.rs copied to clipboard

CVE-2021-26957 (High) detected in xcb-0.8.2.crate

Open mend-bolt-for-github[bot] opened this issue 4 years ago • 0 comments

CVE-2021-26957 - High Severity Vulnerability

Vulnerable Library - xcb-0.8.2.crate

Rust bindings and wrappers for XCB

Library home page: https://crates.io/api/v1/crates/xcb/0.8.2/download

Dependency Hierarchy:

  • amethyst-0.15.3.crate (Root Library)
    • amethyst_ui-0.15.3.crate
      • clipboard-0.5.0.crate
        • x11-clipboard-0.3.3.crate
          • :x: xcb-0.8.2.crate (Vulnerable Library)

Found in HEAD commit: a5a175063bd51fcbbce0eaba88d1b9b6ad315911

Found in base branch: master

Vulnerability Details

An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because there is an out-of-bounds read in xcb::xproto::change_property(), as demonstrated by a format=32 T=u8 situation where out-of-bounds bytes are sent to an X server.

Publish Date: 2021-02-09

URL: CVE-2021-26957

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://rustsec.org/advisories/RUSTSEC-2021-0019.html

Release Date: 2021-02-09

Fix Resolution: xcb - 1.0.0


Step up your Open Source Security Game with Mend here