Heap-based Buffer Overflow Affecting libxml2-python package, versions <0:2.7.6-4.el6


Severity

Recommended
low

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.68% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS6-LIBXML2PYTHON-2051454
  • published 26 Jul 2021
  • disclosed 27 May 2011

How to fix?

Upgrade Centos:6 libxml2-python to version 0:2.7.6-4.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2-python package and not the libxml2-python package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

Integer overflow in xpath.c in libxml2 2.6.x through 2.6.32 and 2.7.x through 2.7.8, and libxml 1.8.16 and earlier, allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted XML file that triggers a heap-based buffer overflow when adding a new namespace node, related to handling of XPath expressions.

CVSS Scores

version 3.1
Expand this section

NVD

8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

Red Hat

5.6 medium