CVE-2017-12933
The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (6.94%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 6.94% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-125
- Affected
- php/php
- Source
- cve@mitre.org
References
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://www.securityfocus.com/bid/99490Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=74111Vendor Advisory
- https://usn.ubuntu.com/3566-1/
- https://usn.ubuntu.com/3566-2/
- https://www.debian.org/security/2018/dsa-4080
- https://www.debian.org/security/2018/dsa-4081
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://www.securityfocus.com/bid/99490Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=74111Vendor Advisory
- https://usn.ubuntu.com/3566-1/
- https://usn.ubuntu.com/3566-2/
- https://www.debian.org/security/2018/dsa-4080
- https://www.debian.org/security/2018/dsa-4081
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.