CVE-2020-16009: CefSharp.Common Inappropriate Implementation Vulnerability

HIGH
Advisory Identifier: GHSA-m7mf-48hp-5qmr
CVSS 8.8
CWE-787
Published
Advisory Summary

CVE-2020-16009 is a HIGH (CVSS 8.8) inappropriate implementation vulnerability (CWE-787: Out-of-bounds Write) affecting CefSharp.Common libraries in the NuGet ecosystem. The issue involves inappropriate implementation in v8. Remediation is available by upgrading affected packages to version 86.0.241.

CVE-2020-16009 at a Glance

CVE Identifier CVE-2020-16009
GHSA Identifier GHSA-m7mf-48hp-5qmr
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-787: Out-of-bounds Write
Affected Product CefSharp.Common
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2020-16009

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: 86.0.241
Upgrade CefSharp.Common to 86.0.241
CefSharp.Wpf fixed: 86.0.241
Upgrade CefSharp.Wpf to 86.0.241
CefSharp.WinForms fixed: 86.0.241
Upgrade CefSharp.WinForms to 86.0.241
CefSharp.Wpf.HwndHost fixed: 86.0.241
Upgrade CefSharp.Wpf.HwndHost to 86.0.241
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 CVE-2020-16009, 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 86.0.241), 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 CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. 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

CVE-2020-16009: Inappropriate implementation in V8 - https://chromereleases.googleblog.com/2020/11/stable-channel-update-for-desktop.html - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16009 Google is aware of reports that exploits for CVE-2020-16009 exist in the wild. Allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. There is currently little to no public information on the issue other than it has been flagged as `High` severity.

CVE-2020-16009 Affected CefSharp.Common Versions

4 component(s)
Fixed Versions:
86.0.241
Product / Package Ecosystem Affected Versions Fixed Version
CefSharp.Common
NuGet
< 86.0.241
86.0.241
CefSharp.Wpf
NuGet
< 86.0.241
86.0.241
CefSharp.WinForms
NuGet
< 86.0.241
86.0.241
CefSharp.Wpf.HwndHost
NuGet
< 86.0.241
86.0.241

References

Frequently Asked Questions

What is CVE-2020-16009?
CVE-2020-16009 is a security vulnerability in CefSharp.Common involving Inappropriate implementation in V8 under CWE-787: Out-of-bounds Write.
Which CefSharp.Common versions are affected?
Affected versions include releases prior to 86.0.241 across affected packages: CefSharp.Common, CefSharp.Wpf, CefSharp.WinForms, CefSharp.Wpf.HwndHost.
What version fixes CVE-2020-16009?
Upgrading to 86.0.241 (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 86.0.241. Upgrade your dependency to 86.0.241 or later.
Is CefSharp.Wpf affected?
Yes, CefSharp.Wpf is affected in releases prior to 86.0.241. Upgrade your dependency to 86.0.241 or later.
What is the CVSS score of CVE-2020-16009?
CVE-2020-16009 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2020-16009?
CVE-2020-16009 is classified under CWE-787: Out-of-bounds Write (The product writes data past the end, or before the beginning, of the intended buffer.).
How can I check NuGet dependencies for CVE-2020-16009?
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-m7mf-48hp-5qmr",
  "modified" : "2023-06-06T18:43:22Z",
  "published" : "2020-12-02T18:28:47Z",
  "aliases" : [ "CVE-2020-16009" ],
  "summary" : "Inappropriate implementation in V8",
  "details" : "CVE-2020-16009: Inappropriate implementation in V8\n\n- https://chromereleases.googleblog.com/2020/11/stable-channel-update-for-desktop.html\n- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16009\n\nGoogle is aware of reports that exploits for CVE-2020-16009 exist in the wild.\n\nAllowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.\n\nThere is currently little to no public information on the issue other than it has been flagged as `High` severity.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "86.0.241"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Wpf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "86.0.241"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.WinForms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "86.0.241"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Wpf.HwndHost"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "86.0.241"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cefsharp/CefSharp/security/advisories/GHSA-m7mf-48hp-5qmr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-16009"
  }, {
    "type" : "WEB",
    "url" : "https://chromereleases.googleblog.com/2020/11/stable-channel-update-for-desktop.html"
  }, {
    "type" : "WEB",
    "url" : "https://crbug.com/1143772"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cefsharp/CefSharp"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4XYJ7B6OXHZNYSA5J3DBUOFEC6WCAGW"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SC3U3H6AISVZB5PLZLLNF4HMQ4UFFL7M"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202011-12"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2021/dsa-4824"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00016.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00017.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/159974/Chrome-V8-Turbofan-Type-Confusion.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-787" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-12-02T18:27:42Z",
    "nvd_published_at" : "2020-11-03T03:15:00Z"
  }
}