Vulnerability
Improper Restriction of Operations within the Bounds of a Memory Buffer Vulnerability
Vulnerability Description
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Google Chrome. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within Google Chrome’s PDF accessibility code. GetTextRunInfo scans until it finds the start of the next text run, then increments the character index by 1 in order to scan to the end of the text run. That was resulting in a buffer overrun if the first scan reached the end of the array of characters without finding a non-whitespace character. An attacker can leverage this vulnerability to execute code under the context of the current process.
CVE ID
CVE-2017-5032
Vendor
Products
- Google Chrome 54.0.2840.99 and prior
Disclosure Timeline
- 25 November 2016 – Reported to vendor
- 9 March 2017 – Coordinated public release of advisory
Credits
Ashfaq Ansari – Project Srishti
Vendor Advisory
https://bugs.chromium.org/p/chromium/issues/detail?id=668724
https://chromereleases.googleblog.com/2017/03/stable-channel-update-for-desktop.html
Code Review
https://codereview.chromium.org/2650513002