GHSA-j646-gj5p-p45g: CefSharp.Common CefSharp Affected By Heap Buffer Vulnerability
CRITICALGHSA-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
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.
Upgrade CefSharp.Common to 116.0.230
Upgrade CefSharp.Common.NETCore to 116.0.230
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
GHSA-j646-gj5p-p45g Affected CefSharp.Common Versions
2 component(s)| 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?
Which CefSharp.Common versions are affected?
What version fixes GHSA-j646-gj5p-p45g?
Is CefSharp.Common affected?
Is CefSharp.Common.NETCore affected?
What CWE is associated with GHSA-j646-gj5p-p45g?
How can I check NuGet dependencies for GHSA-j646-gj5p-p45g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}