Bug 1503537 (CVE-2017-5130) - CVE-2017-5130 chromium-browser: heap overflow in libxml2
Summary: CVE-2017-5130 chromium-browser: heap overflow in libxml2
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-5130
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1503551 1503557 1503558
Blocks: 1504612
TreeView+ depends on / blocked
 
Reported: 2017-10-18 11:41 UTC by Martin Prpič
Modified: 2021-02-17 01:21 UTC (History)
29 users (show)

Fixed In Version: chromium-browser 62.0.3202.62
Doc Type: If docs needed, set a value
Doc Text:
A heap overflow flaw was found in the libxml2 library. An application compiled with libxml2 using the vulnerable debug-only function xmlMemoryStrdup could be used by an attacker to crash the application or execute arbitrary code with the permission of the user running the application.
Clone Of:
Environment:
Last Closed: 2017-10-30 05:48:50 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2997 0 normal SHIPPED_LIVE Important: chromium-browser security update 2017-10-20 12:39:11 UTC

Description Martin Prpič 2017-10-18 11:41:37 UTC
A heap overflow flaw was found in the libxml2 component of the Chromium browser.

Upstream bug(s):

https://code.google.com/p/chromium/issues/detail?id=722079

External References:

https://chromereleases.googleblog.com/2017/10/stable-channel-update-for-desktop.html

Comment 1 Martin Prpič 2017-10-18 11:44:31 UTC
Created chromium tracking bugs for this issue:

Affects: fedora-all [bug 1503551]

Comment 4 errata-xmlrpc 2017-10-20 08:41:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary

Via RHSA-2017:2997 https://access.redhat.com/errata/RHSA-2017:2997

Comment 5 Huzaifa S. Sidhpurwala 2017-10-30 05:39:13 UTC
The affected function xmlMemoryStrdup() is a debug-only function that should never be called in production builds. The only exception is xmllint when invoked with --maxmem. The same issue applies to

xmlMallocLoc
xmlReallocLoc

This issue is fixed via the following upstream commit:

https://git.gnome.org/browse/libxml2/commit/?id=897dffbae322b46b83f99a607d527058a72c51ed

Referenced at:

https://bugzilla.gnome.org/show_bug.cgi?id=783026 (currently private)

Comment 9 Eric Christensen 2019-06-28 13:31:04 UTC
Statement:

This issue does not affect the libxml library shipped with Red Hat Enterprise Linux because the affected code xmlMemoryStrdup() is a debug-only function that should never be called in production builds. The only exception is xmllint when invoked with --maxmem. The same issue applies to the other two affected functions namely xmlMallocLoc and xmlReallocLoc.


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