Skip to content

CVE-2021-43818 (High) detected in lxml-4.2.5-cp37-cp37m-manylinux1_x86_64.whl #109

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2021-43818 - High Severity Vulnerability

Vulnerable Library - lxml-4.2.5-cp37-cp37m-manylinux1_x86_64.whl

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

Library home page: https://files.pythonhosted.org/packages/7a/6b/a3d2d3c3075617edcbfc272d79281e812b1a94dab37923b1d06fdfe2e906/lxml-4.2.5-cp37-cp37m-manylinux1_x86_64.whl

Path to dependency file: /scrapers/requirements.txt

Path to vulnerable library: /scrapers/requirements.txt

Dependency Hierarchy:

  • Scrapy-1.8.2-py2.py3-none-any.whl (Root Library)
    • lxml-4.2.5-cp37-cp37m-manylinux1_x86_64.whl (Vulnerable Library)

Found in HEAD commit: 35017e222f0982c0f71acdb8134994d36da4c50f

Vulnerability Details

lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available.

Publish Date: 2021-12-13

URL: CVE-2021-43818

CVSS 3 Score Details (7.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-55x5-fj6c-h6m8

Release Date: 2021-12-13

Fix Resolution: lxml - 4.6.5


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions