Skip to content

Known exploited

CVE-2021-30858 on Ubuntu 20.04 LTS: affected packages and fixed versions

7 packages on Ubuntu 20.04 LTS are affected by CVE-2021-30858 (Apple iOS, iPadOS, macOS Use-After-Free Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on November 3, 2021, with a remediation date of November 17, 2021 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
gir1.2-javascriptcoregtk-4.0 2.32.4-0ubuntu0.20.04.1 Medium USN-5087-1
gir1.2-webkit2-4.0 2.32.4-0ubuntu0.20.04.1 Medium USN-5087-1
libjavascriptcoregtk-4.0-18 2.32.4-0ubuntu0.20.04.1 Medium USN-5087-1
libjavascriptcoregtk-4.0-bin 2.32.4-0ubuntu0.20.04.1 Medium USN-5087-1
libwebkit2gtk-4.0-37 2.32.4-0ubuntu0.20.04.1 Medium USN-5087-1
libwebkit2gtk-4.0-37-gtk2 2.32.4-0ubuntu0.20.04.1 Medium USN-5087-1
webkit2gtk-driver 2.32.4-0ubuntu0.20.04.1 Medium USN-5087-1

Check a host

Show the installed versions and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.0-bin

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.0-bin

The fixed version may look older than the upstream release that fixed the bug. Ubuntu 20.04 LTS carries the fix in the version it already ships.

What it is

WebKitGTK is the port of the portable web rendering engine WebKit to the GTK platform. Security Fix(es): * webkitgtk: Use-after-free leading to arbitrary code execution (CVE-2021-30858) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Bug Fix(es): * WebProcess::initializeWebProcess crashing on aarch64 (BZ#2010825)

CVE-2021-30858 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup