Bug 1611898 (CVE-2017-9120) - CVE-2017-9120 php: Integer overflow in mysqli_api.c:mysqli_real_escape_string()
Summary: CVE-2017-9120 php: Integer overflow in mysqli_api.c:mysqli_real_escape_string()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-9120
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: 1614880 1614881 1614892 1614894 1614895
Blocks: 1611899
TreeView+ depends on / blocked
 
Reported: 2018-08-03 02:34 UTC by Sam Fowler
Modified: 2021-12-10 16:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 08:47:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2519 0 None None None 2019-08-19 08:42:34 UTC

Description Sam Fowler 2018-08-03 02:34:34 UTC
PHP is vulnerable to an integer overflow in the mysqli_api.c:mysqli_real_escape_string() function. An attacker could exploit this by performing a crafted query to cause a crash.


Upstream Bug:

https://bugs.php.net/bug.php?id=74544

Comment 2 Pedro Yóssis Silva Barbosa 2018-08-10 15:29:36 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1614880]

Comment 6 Pedro Yóssis Silva Barbosa 2018-08-13 21:33:48 UTC
Statement:

This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 6 and 7 (versions 5.3.3 and 5.4.16, respectively).

Comment 7 Remi Collet 2018-09-19 10:38:58 UTC
Notice: this issue is not considered by upstream as a security issue, as it rely on bad local configuration (no memory limit)

See: https://wiki.php.net/security

Comment 8 errata-xmlrpc 2019-08-19 08:42:33 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 9 Product Security DevOps Team 2019-08-19 08:47:26 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-2017-9120


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