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

CVE-2021-46143 (High) detected in expat-sys-2.1.6.crate

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

CVE-2021-46143 - High Severity Vulnerability

Vulnerable Library - expat-sys-2.1.6.crate

XML parser library written in C

Library home page: https://crates.io/api/v1/crates/expat-sys/2.1.6/download

Dependency Hierarchy:

  • amethyst-0.15.3.crate (Root Library)
    • amethyst_ui-0.15.3.crate
      • font-kit-0.5.0.crate
        • servo-fontconfig-0.4.0.crate
          • servo-fontconfig-sys-4.0.9.crate
            • :x: expat-sys-2.1.6.crate (Vulnerable Library)

Found in HEAD commit: a5a175063bd51fcbbce0eaba88d1b9b6ad315911

Found in base branch: master

Vulnerability Details

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.

Publish Date: 2022-01-06

URL: CVE-2021-46143

CVSS 3 Score Details (7.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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://nvd.nist.gov/vuln/detail/CVE-2021-46143

Release Date: 2022-01-06

Fix Resolution: expat - 2.2.6-2+deb10u2,2.2.10-2+deb11u1,2.2.0-2+deb9u4,2.4.3-1


Step up your Open Source Security Game with Mend here