GHSA-j646-gj5p-p45g: CefSharp.Common CefSharp Affected By Heap Buffer Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-j646-gj5p-p45g is a CRITICAL cefsharp affected by heap buffer vulnerability (General Security Weakness) affecting CefSharp.Common libraries in the NuGet ecosystem. The issue involves cefsharp affected by heap buffer overflow in webp. Remediation is available by upgrading affected packages to version 116.0.230.

GHSA-j646-gj5p-p45g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j646-gj5p-p45g
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product CefSharp.Common
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix GHSA-j646-gj5p-p45g

To remediate this vulnerability, upgrade all affected CefSharp.Common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

CefSharp.Common fixed: 116.0.230
Upgrade CefSharp.Common to 116.0.230
CefSharp.Common.NETCore fixed: 116.0.230
Upgrade CefSharp.Common.NETCore to 116.0.230
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for CefSharp.Common

How to Check if You Are Affected

To determine whether your application is affected by GHSA-j646-gj5p-p45g, inspect your project dependencies for CefSharp.Common:

inspect dependencies for CefSharp.Common

Analyze the terminal output to locate any version of CefSharp.Common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 116.0.230), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In CefSharp.Common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

**Google is aware that an exploit for [CVE-2023-4863](https://www.cve.org/CVERecord?id=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 - https://www.cve.org/CVERecord?id=CVE-2023-4863 - https://nvd.nist.gov/vuln/detail/CVE-2023-4863 - https://www.techtarget.com/searchsecurity/news/366551978/Browser-companies-patch-critical-zero-day-vulnerability --- **Updated** There is another related security vulnerability. > There's another related CVE ([CVE-2023-5217](https://nvd.nist.gov/vuln/detail/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

GHSA-j646-gj5p-p45g Affected CefSharp.Common Versions

2 component(s)
Fixed Versions:
116.0.230
Product / Package Ecosystem Affected Versions Fixed Version
CefSharp.Common
NuGet
< 116.0.230
116.0.230
CefSharp.Common.NETCore
NuGet
< 116.0.230
116.0.230

References

Frequently Asked Questions

What is GHSA-j646-gj5p-p45g?
GHSA-j646-gj5p-p45g is a security vulnerability in CefSharp.Common involving CefSharp affected by heap buffer overflow in WebP under General Security Weakness.
Which CefSharp.Common versions are affected?
Affected versions include releases prior to 116.0.230 across affected packages: CefSharp.Common, CefSharp.Common.NETCore.
What version fixes GHSA-j646-gj5p-p45g?
Upgrading to 116.0.230 (or the latest patched release for your respective branch) resolves the vulnerability.
Is CefSharp.Common affected?
Yes, CefSharp.Common is affected in releases prior to 116.0.230. Upgrade your dependency to 116.0.230 or later.
Is CefSharp.Common.NETCore affected?
Yes, CefSharp.Common.NETCore is affected in releases prior to 116.0.230. Upgrade your dependency to 116.0.230 or later.
What CWE is associated with GHSA-j646-gj5p-p45g?
GHSA-j646-gj5p-p45g is classified under General Security Weakness.
How can I check NuGet dependencies for GHSA-j646-gj5p-p45g?
Run the dependency tree command: 'inspect dependencies for CefSharp.Common'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j646-gj5p-p45g",
  "modified" : "2023-10-02T20:17:01Z",
  "published" : "2023-09-21T17:11:42Z",
  "aliases" : [ ],
  "summary" : "CefSharp affected by heap buffer overflow in WebP",
  "details" : "**Google is aware that an exploit for [CVE-2023-4863](https://www.cve.org/CVERecord?id=CVE-2023-4863) exists in the wild.**\n\n### Description\n\nHeap 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)\n\n### References\n\n- https://www.cve.org/CVERecord?id=CVE-2023-4863\n- https://nvd.nist.gov/vuln/detail/CVE-2023-4863\n- https://www.techtarget.com/searchsecurity/news/366551978/Browser-companies-patch-critical-zero-day-vulnerability\n\n---\n**Updated**\n\nThere is another related security vulnerability. \n\n> There's another related CVE ([CVE-2023-5217](https://nvd.nist.gov/vuln/detail/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`).\n\nAs per https://magpcss.org/ceforum/viewtopic.php?f=6&t=19551#p54150\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "116.0.230"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Common.NETCore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "116.0.230"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cefsharp/CefSharp/security/advisories/GHSA-j646-gj5p-p45g"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cefsharp/CefSharp/commit/f2890ba66170afb0bf742839febe4d20449f758c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cefsharp/CefSharp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cefsharp/CefSharp/releases/tag/v116.0.230"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-21T17:11:42Z",
    "nvd_published_at" : null
  }
}