CVE-2017-5113
published 2017-10-27CVE-2017-5113: Math overflow in Skia in Google Chrome prior to 61.0.3163.79 for Mac, Windows, and Linux, and 61.0.3163.81 for Android, allowed a remote attacker to…
PriorityP339high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.30%
67.5th percentile
Math overflow in Skia in Google Chrome prior to 61.0.3163.79 for Mac, Windows, and Linux, and 61.0.3163.81 for Android, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| chrome | < 61.0.3163.79 | 61.0.3163.79 | |
| chrome | < 61.0.3163.81 | 61.0.3163.81 | |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-3m67-7cqv-27f4: Math overflow in Skia in Google Chrome prior to 61
ghsa_unreviewed·2022-05-13
CVE-2017-5113 [HIGH] CWE-787 GHSA-3m67-7cqv-27f4: Math overflow in Skia in Google Chrome prior to 61
Math overflow in Skia in Google Chrome prior to 61.0.3163.79 for Mac, Windows, and Linux, and 61.0.3163.81 for Android, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
OSV
CVE-2017-5113: Math overflow in Skia in Google Chrome prior to 61
osv·2017-10-27·CVSS 8.8
CVE-2017-5113 [HIGH] CVE-2017-5113: Math overflow in Skia in Google Chrome prior to 61
Math overflow in Skia in Google Chrome prior to 61.0.3163.79 for Mac, Windows, and Linux, and 61.0.3163.81 for Android, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
Red Hat
chromium-browser: heap buffer overflow in skia
vendor_redhat·2017-09-05·CVSS 8.8
CVE-2017-5113 [HIGH] chromium-browser: heap buffer overflow in skia
chromium-browser: heap buffer overflow in skia
Math overflow in Skia in Google Chrome prior to 61.0.3163.79 for Mac, Windows, and Linux, and 61.0.3163.81 for Android, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-5111 CVE-2017-5112 CVE-2017-5113 CVE-2017-5114 CVE-2017-5115 CVE-2017-5116 CVE-2017-5117 CVE-2017-5118 CVE-2017-5119 CVE-2017-5120 chromium: various flaws [fedora-all]
bugzilla·2017-09-06·CVSS 8.8
CVE-2017-5111 [HIGH] CVE-2017-5111 CVE-2017-5112 CVE-2017-5113 CVE-2017-5114 CVE-2017-5115 CVE-2017-5116 CVE-2017-5117 CVE-2017-5118 CVE-2017-5119 CVE-2017-5120 chromium: various flaws [fedora-all]
CVE-2017-5111 CVE-2017-5112 CVE-2017-5113 CVE-2017-5114 CVE-2017-5115 CVE-2017-5116 CVE-2017-5117 CVE-2017-5118 CVE-2017-5119 CVE-2017-5120 chromium: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM
Bugzilla
CVE-2017-5113 chromium-browser: heap buffer overflow in skia
bugzilla·2017-09-06·CVSS 8.8
CVE-2017-5113 [HIGH] CVE-2017-5113 chromium-browser: heap buffer overflow in skia
CVE-2017-5113 chromium-browser: heap buffer overflow in skia
A heap buffer overflow flaw was found in the Skia component of the Chromium browser.
Upstream bug(s):
https://code.google.com/p/chromium/issues/detail?id=747043
External References:
https://chromereleases.googleblog.com/2017/09/stable-channel-update-for-desktop.html
Discussion:
Created chromium tracking bugs for this issue:
Affects: fedora-all [bug 1488785]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6 Supplementary
Via RHSA-2017:2676 https://access.redhat.com/errata/RHSA-2017:2676
Bugzilla
Overflow in makeSpace causes potential memory-safety bug
bugzilla·2015-11-13
[MEDIUM] Overflow in makeSpace causes potential memory-safety bug
Overflow in makeSpace causes potential memory-safety bug
Created attachment 8686863
POC. Use with a breakpoint in makeSpace to see the bug in action.
makeSpace (gfx\skia\skia\include\core\SkPathRef.h) can experience an integer overflow. If it does, it attempts to allocate a buffer that is far too small. makeSpace's callers then overrun the buffer, writing to memory that they don't own. This bug can ever practically be realized only in 32 bit builds.
Because of Windows memory allocations policies and another bug, this bug appears unlikely to be realizable on Windows 7. It might be realizable under other OSes.
Details
The bug is in line 389, which doesn't check for overflow:
373: void makeSpace(size_t size) {
374: SkDEBUGCODE(this->validate();)
375: ptrdiff_t growSize = size - fFreeSp
http://www.debian.org/security/2017/dsa-3985http://www.securityfocus.com/bid/100610http://www.securitytracker.com/id/1039291https://access.redhat.com/errata/RHSA-2017:2676https://chromereleases.googleblog.com/2017/09/stable-channel-update-for-desktop.htmlhttps://crbug.com/747043https://security.gentoo.org/glsa/201709-15http://www.debian.org/security/2017/dsa-3985http://www.securityfocus.com/bid/100610http://www.securitytracker.com/id/1039291https://access.redhat.com/errata/RHSA-2017:2676https://chromereleases.googleblog.com/2017/09/stable-channel-update-for-desktop.htmlhttps://crbug.com/747043https://security.gentoo.org/glsa/201709-15
2017-10-27
Published