CVE-2018-12293
What it is
The getImageData function in the ImageBufferCairo class in WebCore/platform/graphics/cairo/ImageBufferCairo.cpp in WebKit, as used in WebKitGTK+ prior to version 2.20.3 and WPE WebKit prior to version 2.20.1, is vulnerable to a heap-based buffer overflow triggered by an integer overflow, which could be abused by crafted HTML content.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 10.0% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 10.0% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 10.0% · EPSS, next 30 days
- Weakness
- CWE-190 · Integer overflow
- Record status
- Modified
Affected
- Canonical Ubuntu Linux 16.04
- Canonical Ubuntu Linux 17.10
- Canonical Ubuntu Linux 18.04
- Webkitgtk webkitgtk\+ < 2.20.3
- Wpewebkit Wpe Webkit < 2.20.1
Attack profile CVSS 3.0 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-12293.md and follow it. Check whether this project is affected by CVE-2018-12293. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://bugs.webkit.org/show_bug.cgi?id=186384
- https://trac.webkit.org/changeset/232618
- https://bugs.webkit.org/show_bug.cgi?id=186384
- https://trac.webkit.org/changeset/232618
References
- http://packetstormsecurity.com/files/148200/WebKitGTK-Data-Leak-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2018/06/14/1
- http://www.securityfocus.com/archive/1/542087/100/0/threaded
- https://bugs.webkit.org/show_bug.cgi?id=186384
- https://security.gentoo.org/glsa/201808-04
- https://trac.webkit.org/changeset/232618
- https://usn.ubuntu.com/3687-1/
- https://www.exploit-db.com/exploits/45205/
- http://packetstormsecurity.com/files/148200/WebKitGTK-Data-Leak-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2018/06/14/1
- http://www.securityfocus.com/archive/1/542087/100/0/threaded
- https://bugs.webkit.org/show_bug.cgi?id=186384
- https://security.gentoo.org/glsa/201808-04
- https://trac.webkit.org/changeset/232618
- https://usn.ubuntu.com/3687-1/
- https://www.exploit-db.com/exploits/45205/