GHSA-j646-gj5p-p45g CefSharp affected by heap buffer overflow in WebP

Not scored Published

Remote attackers can execute arbitrary code via a crafted HTML page due to a heap buffer overflow in the WebP library used by CefSharp.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-j646-gj5p-p45g?

GHSA-j646-gj5p-p45g is a memory corruption vulnerability in CefSharp.Common, published on 21 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Google is aware that an exploit for CVE-2023-4863 exists in the wild.

Description

Heap buffer overflow in WebP in Google Chrome prior to 116.0.5845.187 allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page. (Chromium security severity: Critical)

References


Updated

There is another related security vulnerability.

> There's another related CVE (CVE-2023-5217) that is fixed in Chromium 117.0.5938.132. This one is triggered by WebCodecs API encoder usage, so a workaround for older versions is to disable the WebCodecs API (--disable-blink-features=WebCodecs).

As per https://magpcss.org/ceforum/viewtopic.php?f=6&t=19551#p54150

Which versions are affected by GHSA-j646-gj5p-p45g?

4 open source packages ship an affected version, including CefSharp.Common and CefSharp.Common.NETCore.

PackageAffectedFixed in
CefSharp.Common NuGetAll versions116.0.230
CefSharp.Common NuGetAll versions116.0.230
CefSharp.Common.NETCore NuGetAll versions116.0.230
CefSharp.Common.NETCore NuGetAll versions116.0.230

How do I fix GHSA-j646-gj5p-p45g?

Upgrade CefSharp.Common to 116.0.230 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is GHSA-j646-gj5p-p45g being exploited?

There is no known exploitation of GHSA-j646-gj5p-p45g in the wild and no public exploit code.

Sources

Is GHSA-j646-gj5p-p45g in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free