Bug 1788856 (CVE-2019-19956) - CVE-2019-19956 libxml2: memory leak in xmlParseBalancedChunkMemoryRecover in parser.c
Summary: CVE-2019-19956 libxml2: memory leak in xmlParseBalancedChunkMemoryRecover in ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-19956
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: 1788857 1788858 1788859 1793000 1793001 1921205 1921206 1921207
Blocks: 1788860
TreeView+ depends on / blocked
 
Reported: 2020-01-08 09:08 UTC by Marian Rehak
Modified: 2023-12-15 17:09 UTC (History)
22 users (show)

Fixed In Version: libxml2 2.9.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-22 17:20:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:2644 0 None None None 2020-06-22 12:26:46 UTC
Red Hat Product Errata RHSA-2020:2646 0 None None None 2020-06-22 13:08:47 UTC
Red Hat Product Errata RHSA-2020:3996 0 None None None 2020-09-29 20:27:03 UTC
Red Hat Product Errata RHSA-2020:4479 0 None None None 2020-11-04 01:20:39 UTC

Description Marian Rehak 2020-01-08 09:08:35 UTC
xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs.

Upstream Fix:

https://gitlab.gnome.org/GNOME/libxml2/commit/5a02583c7e683896d84878bd90641d8d9b0d0549

Comment 1 Marian Rehak 2020-01-08 09:09:23 UTC
Created libxml2 tracking bugs for this issue:

Affects: fedora-30 [bug 1788857]


Created mingw-libxml2 tracking bugs for this issue:

Affects: epel-7 [bug 1788859]
Affects: fedora-all [bug 1788858]

Comment 2 Jan Pokorný [poki] 2020-01-08 13:08:13 UTC
Already fixed where libxml2-2.9.10 is present [*]:

Rawhide/F32:
https://bodhi.fedoraproject.org/updates/FEDORA-2019-44d48a72e5

F31:
https://bodhi.fedoraproject.org/updates/FEDORA-2019-92097b71ff

Do we want/need to address this in F30 as well?


see:
https://gitlab.gnome.org/GNOME/libxml2/commits/41a34e1f4ffae2ce401600dbb5fe43f8fe402641

Comment 3 Huzaifa S. Sidhpurwala 2020-01-20 13:25:28 UTC
Upstream bug: https://gitlab.gnome.org/GNOME/libxml2/issues/82

Comment 7 errata-xmlrpc 2020-06-22 12:26:42 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 6
  JBoss Core Services on RHEL 7

Via RHSA-2020:2644 https://access.redhat.com/errata/RHSA-2020:2644

Comment 8 errata-xmlrpc 2020-06-22 13:08:44 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2020:2646 https://access.redhat.com/errata/RHSA-2020:2646

Comment 9 Product Security DevOps Team 2020-06-22 17:20:30 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-2019-19956

Comment 10 errata-xmlrpc 2020-09-29 20:27:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3996 https://access.redhat.com/errata/RHSA-2020:3996

Comment 11 errata-xmlrpc 2020-11-04 01:20:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4479 https://access.redhat.com/errata/RHSA-2020:4479

Comment 13 atrivizas 2023-04-12 12:20:14 UTC
(In reply to errata-xmlrpc from comment #10)
> This issue has been addressed in the following products:
> 
>   Red Hat Enterprise Linux 7
> 
> Via RHSA-2020:3996 https://access.redhat.com/errata/RHSA-2020:3996

Is this fix valid for Red Hat Enterprise Linux 7.6 ?


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