Out-of-bounds write in GNOME Web (Epiphany) - CVE-2022-29536

 

Out-of-bounds write in GNOME Web (Epiphany) - CVE-2022-29536

Published: August 12, 2022


Vulnerability identifier: #VU66422
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-29536
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing a long page title in the ephy_string_shorten() function in the UI process. A remote attacker can create a specially crafted website, trick the victim into visiting it, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

GNOME Web (Epiphany)
Debian Linux
Gentoo Linux
Ubuntu
openEuler
Fedora
epiphany-browser (Ubuntu package)
epiphany-browser (Debian package)
epiphany
epiphany-debuginfo
epiphany-debugsource
epiphany-runtime
www-client/epiphany

How to mitigate CVE-2022-29536

Install updates from vendor's website.

GNOME Web (Epiphany) - addressed in versions 41.4, 42.2
epiphany-browser (Ubuntu package) - addressed in versions 3.36.4-0ubuntu2, 42.1-1ubuntu1
epiphany-browser (Debian package) - update to 3.38.2-1+deb11u3
epiphany - update to 40.6-1
epiphany-debuginfo - update to 40.6-1
epiphany-debugsource - update to 40.6-1
epiphany-runtime - update to 40.6-1
epiphany - addressed in versions 40.6-2.fc34, 41.4-1.fc35, 42.2-1.fc36
www-client/epiphany - update to 42.4

External References

Related Security Bulletins