Vulnerabilities in pkg:nuget/CefSharp.OffScreen.NETCore

PACKAGE
Advisory Identifier: GHSA-vv6j-ww6x-54gx
Advisory Summary

CVE-2022-0609 is a HIGH (CVSS 8.8) use after free vulnerability (CWE-416: Use After Free) affecting CefSharp.Common libraries in the NuGet ecosystem. The issue involves use after free in animation. Remediation is available by upgrading affected packages to version 98.1.210.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/CefSharp.OffScreen.NETCore

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/CefSharp.OffScreen.NETCore. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vv6j-ww6x-54gx CVE-2022-0609 HIGH Use after free in Animation

CVE-2022-0609 at a Glance

CVE Identifier CVE-2022-0609
GHSA Identifier GHSA-vv6j-ww6x-54gx
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-416: Use After Free
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-2022-0609

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: 98.1.210
Upgrade CefSharp.Common to 98.1.210
CefSharp.OffScreen fixed: 98.1.210
Upgrade CefSharp.OffScreen to 98.1.210
CefSharp.WinForms fixed: 98.1.210
Upgrade CefSharp.WinForms to 98.1.210
CefSharp.Wpf fixed: 98.1.210
Upgrade CefSharp.Wpf to 98.1.210
CefSharp.Wpf.HwndHost fixed: 98.1.210
Upgrade CefSharp.Wpf.HwndHost to 98.1.210
CefSharp.Common.NETCore fixed: 98.1.210
Upgrade CefSharp.Common.NETCore to 98.1.210
CefSharp.OffScreen.NETCore fixed: 98.1.210
Upgrade CefSharp.OffScreen.NETCore to 98.1.210
CefSharp.WinForms.NETCore fixed: 98.1.210
Upgrade CefSharp.WinForms.NETCore to 98.1.210
CefSharp.Wpf.NETCore fixed: 98.1.210
Upgrade CefSharp.Wpf.NETCore to 98.1.210
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-2022-0609, 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 98.1.210), 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-416: Use After Free, where the product reuses or references memory after it has been freed. at some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. 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-2022-0609: Use after free in Animation - https://chromereleases.googleblog.com/2022/02/stable-channel-update-for-desktop_14.html - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0609 Google is aware of reports that exploits for CVE-2022-0609 exist in the wild. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are unknown but an exploit is available. There is currently little other public information on the issue other than it has been flagged as `High` severity.

CVE-2022-0609 Affected CefSharp.Common Versions

9 component(s)
Fixed Versions:
98.1.210
Product / Package Ecosystem Affected Versions Fixed Version
CefSharp.Common
NuGet
< 98.1.210
98.1.210
CefSharp.OffScreen
NuGet
< 98.1.210
98.1.210
CefSharp.WinForms
NuGet
< 98.1.210
98.1.210
CefSharp.Wpf
NuGet
< 98.1.210
98.1.210
CefSharp.Wpf.HwndHost
NuGet
< 98.1.210
98.1.210
CefSharp.Common.NETCore
NuGet
< 98.1.210
98.1.210
CefSharp.OffScreen.NETCore
NuGet
< 98.1.210
98.1.210
CefSharp.WinForms.NETCore
NuGet
< 98.1.210
98.1.210
CefSharp.Wpf.NETCore
NuGet
< 98.1.210
98.1.210

References

Frequently Asked Questions

What is CVE-2022-0609?
CVE-2022-0609 is a security vulnerability in CefSharp.Common involving Use after free in Animation under CWE-416: Use After Free.
Which CefSharp.Common versions are affected?
Affected versions include releases prior to 98.1.210 across affected packages: CefSharp.Common, CefSharp.OffScreen, CefSharp.WinForms, CefSharp.Wpf, CefSharp.Wpf.HwndHost, CefSharp.Common.NETCore, CefSharp.OffScreen.NETCore, CefSharp.WinForms.NETCore, CefSharp.Wpf.NETCore.
What version fixes CVE-2022-0609?
Upgrading to 98.1.210 (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 98.1.210. Upgrade your dependency to 98.1.210 or later.
Is CefSharp.OffScreen affected?
Yes, CefSharp.OffScreen is affected in releases prior to 98.1.210. Upgrade your dependency to 98.1.210 or later.
What is the CVSS score of CVE-2022-0609?
CVE-2022-0609 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-2022-0609?
CVE-2022-0609 is classified under CWE-416: Use After Free (The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.).
How can I check NuGet dependencies for CVE-2022-0609?
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-vv6j-ww6x-54gx",
  "modified" : "2022-04-12T15:14:36Z",
  "published" : "2022-02-22T21:51:19Z",
  "aliases" : [ "CVE-2022-0609" ],
  "summary" : "Use after free in Animation",
  "details" : "CVE-2022-0609: Use after free in Animation\n\n- https://chromereleases.googleblog.com/2022/02/stable-channel-update-for-desktop_14.html\n- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0609\n\nGoogle is aware of reports that exploits for CVE-2022-0609 exist in the wild.\n\nThe exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are unknown but an exploit is available.\n\nThere is currently little other 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" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.OffScreen"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.WinForms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Wpf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Wpf.HwndHost"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Common.NETCore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.OffScreen.NETCore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.WinForms.NETCore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Wpf.NETCore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "98.1.210"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 98.1.190"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cefsharp/CefSharp/security/advisories/GHSA-vv6j-ww6x-54gx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-0609"
  }, {
    "type" : "WEB",
    "url" : "https://chromereleases.googleblog.com/2022/02/stable-channel-update-for-desktop_14.html"
  }, {
    "type" : "WEB",
    "url" : "https://crbug.com/1296150"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cefsharp/CefSharp"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-416" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-02-22T21:51:19Z",
    "nvd_published_at" : "2022-04-05T00:15:00Z"
  }
}