Bug 1595985 (CVE-2018-14404) - CVE-2018-14404 libxml2: NULL pointer dereference in xpath.c:xmlXPathCompOpEval() can allow attackers to cause a denial of service
Summary: CVE-2018-14404 libxml2: NULL pointer dereference in xpath.c:xmlXPathCompOpEva...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-14404
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1595988 1595989 1602817 1595986 1595987 1609130
Blocks: 1595990 1658297
TreeView+ depends on / blocked
 
Reported: 2018-06-28 01:10 UTC by Sam Fowler
Modified: 2019-09-29 14:43 UTC (History)
28 users (show)

Fixed In Version: libxml2 2.9.9
Doc Type: If docs needed, set a value
Doc Text:
A null pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 when parsing invalid XPath expression. Applications processing untrusted XSL format inputs with the use of libxml2 library may be vulnerable to denial of service attack due to crash of the application.
Clone Of:
Environment:
Last Closed: 2019-07-12 13:05:46 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:1543 None None None 2019-06-18 19:09:14 UTC

Description Sam Fowler 2018-06-28 01:10:50 UTC
libxml2 is vulnerable to a NULL pointer dereference in the xpath.c:xmlXPathCompOpEval() function due to missing checks for NULL in XPATH_OP_AND and XPATH_OP_OR switch cases. An attacker could exploit this via crafted xpath expressions to cause a denial of service.


Reference:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901817

Comment 1 Sam Fowler 2018-06-28 01:11:46 UTC
Created libxml2 tracking bugs for this issue:

Affects: fedora-all [bug 1595986]


Created mingw-libxml2 tracking bugs for this issue:

Affects: epel-7 [bug 1595988]
Affects: fedora-all [bug 1595987]

Comment 6 Adam Mariš 2018-07-18 13:47:41 UTC
Statement:

This issue affects the versions of libxml2 as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of libxml2 as shipped with Red Hat Enterprise Linux 6. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of libxml2 as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having a security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 13 errata-xmlrpc 2019-06-18 19:09:12 UTC
This issue has been addressed in the following products:

  JBoss Core Services Apache HTTP Server 2.4.29 SP2

Via RHSA-2019:1543 https://access.redhat.com/errata/RHSA-2019:1543

Comment 14 Product Security DevOps Team 2019-07-12 13:05:46 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-14404


Note You need to log in before you can comment on or make changes to this bug.