Use After Free Affecting webkit2gtk package, versions <2.32.3-1ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.26% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-WEBKIT2GTK-6711265
  • published29 Apr 2024
  • disclosed7 Jul 2021

Introduced: 7 Jul 2021

CVE-2021-21775  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 webkit2gtk to version 2.32.3-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream webkit2gtk package and not the webkit2gtk package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

A use-after-free vulnerability exists in the way certain events are processed for ImageLoader objects of Webkit WebKitGTK 2.30.4. A specially crafted web page can lead to a potential information leak and further memory corruption. In order to trigger the vulnerability, a victim must be tricked into visiting a malicious webpage.

CVSS Base Scores

version 3.1