CVE-2022-0609: CefSharp.Common Use After Free Vulnerability
HIGHCVE-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.
CVE-2022-0609 at a Glance
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).
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.
Upgrade CefSharp.Common to 98.1.210
Upgrade CefSharp.OffScreen to 98.1.210
Upgrade CefSharp.WinForms to 98.1.210
Upgrade CefSharp.Wpf to 98.1.210
Upgrade CefSharp.Wpf.HwndHost to 98.1.210
Upgrade CefSharp.Common.NETCore to 98.1.210
Upgrade CefSharp.OffScreen.NETCore to 98.1.210
Upgrade CefSharp.WinForms.NETCore to 98.1.210
Upgrade CefSharp.Wpf.NETCore to 98.1.210
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 Affected CefSharp.Common Versions
9 component(s)| 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?
Which CefSharp.Common versions are affected?
What version fixes CVE-2022-0609?
Is CefSharp.Common affected?
Is CefSharp.OffScreen affected?
What is the CVSS score of CVE-2022-0609?
What CWE is associated with CVE-2022-0609?
How can I check NuGet dependencies for CVE-2022-0609?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}