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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.34% (73rd 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2204-WEBKIT2GTK-2786527
  • published15 Jul 2021
  • disclosed8 Jul 2021

Introduced: 8 Jul 2021

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

How to fix?

Upgrade Ubuntu:22.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:22.04 relevant fixed versions and status.

A use-after-free vulnerability exists in the way Webkit’s GraphicsContext handles certain events in WebKitGTK 2.30.4. A specially crafted web page can lead to a potential information leak and further memory corruption. A victim must be tricked into visiting a malicious web page to trigger this vulnerability.

CVSS Scores

version 3.1