CVE-2018-12293
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.
What to do
Likely to be exploited: EPSS gives a 10% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 24.04 | webkit2gtk | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 22.04 | webkit2gtk | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 20.04 | webkit2gtk | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 18.04 | qtwebkit-source | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 18.04 | webkit2gtk | Fixed | 2.20.3-0ubuntu0.18.04.1 | UBUNTU-CVE-2018-12293 |
| Ubuntu 18.04 | webkitgtk | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 16.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 16.04 | qtwebkit-source | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 16.04 | webkit2gtk | Fixed | 2.20.3-0ubuntu0.16.04.1 | UBUNTU-CVE-2018-12293 |
| Ubuntu 16.04 | webkitgtk | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | UBUNTU-CVE-2018-12293 | |
| Ubuntu 14.04 | qtwebkit-opensource-src | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | ||
| Ubuntu 14.04 | qtwebkit-source | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | ||
| Ubuntu 14.04 | webkitgtk | Will not fix webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8 | ||
| Debian 14 | webkit2gtk | Fixed | 2.20.3-1 | DEBIAN-CVE-2018-12293 |
| Debian 13 | webkit2gtk | Fixed | 2.20.3-1 | DEBIAN-CVE-2018-12293 |
| Debian 12 | webkit2gtk | Fixed | 2.20.3-1 | DEBIAN-CVE-2018-12293 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/201808-04 (vendor-advisory)
- https://usn.ubuntu.com/3687-1/ (vendor-advisory)
References
- https://bugs.webkit.org/show_bug.cgi?id=186384
- https://security.gentoo.org/glsa/201808-04
- http://www.securityfocus.com/archive/1/542087/100/0/threaded
- https://www.exploit-db.com/exploits/45205/
- https://trac.webkit.org/changeset/232618
- https://usn.ubuntu.com/3687-1/
- http://packetstormsecurity.com/files/148200/WebKitGTK-Data-Leak-Code-Execution.html
- http://www.openwall.com/lists/oss-security/2018/06/14/1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.