Bug 1685123 (CVE-2019-9020) - CVE-2019-9020 php: Invalid memory access in function xmlrpc_decode()
Summary: CVE-2019-9020 php: Invalid memory access in function xmlrpc_decode()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-9020
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: 1709121 1709120 1709122 1709123 1709124
Blocks: 1680558
TreeView+ depends on / blocked
 
Reported: 2019-03-04 11:59 UTC by Dhananjay Arunesh
Modified: 2019-11-06 10:12 UTC (History)
4 users (show)

Fixed In Version: php 5.6.40, php 7.1.26, php 7.2.14, php 7.3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 08:47:38 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3727 None None None 2019-11-06 10:12:30 UTC
Red Hat Product Errata RHSA-2019:2519 None None None 2019-08-19 08:42:41 UTC
Red Hat Product Errata RHSA-2019:3299 None None None 2019-11-01 13:01:22 UTC

Description Dhananjay Arunesh 2019-03-04 11:59:24 UTC
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. Invalid input to the function xmlrpc_decode() can lead to an invalid memory access (heap out of bounds read or read after free). This is related to xml_elem_parse_buf in ext/xmlrpc/libxmlrpc/xml_element.c.

References:
https://bugs.php.net/bug.php?id=77242 
https://bugs.php.net/bug.php?id=77249

Upstream commit:
http://git.php.net/?p=php-src.git;a=commit;h=780ff63c377dc79de2c04d6b341913ab0102135b

Comment 1 Huzaifa S. Sidhpurwala 2019-05-13 04:46:16 UTC
Analysis:

When malicious data is passed via xmlrpc_decode() function of PHP, it can trigger either a OOB read or a use-after-free. The PHP script needs to allow users (attacker) to load arbitrary XML data though.

Comment 3 errata-xmlrpc 2019-08-19 08:42:40 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS

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

Comment 4 Product Security DevOps Team 2019-08-19 08:47:38 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-9020

Comment 5 errata-xmlrpc 2019-11-01 13:01:21 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

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


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