CVE-2022-26924: Yarp.ReverseProxy Denial of Service Vulnerability
HIGHCVE-2022-26924 is a HIGH (CVSS 7.5) denial of service vulnerability (General Security Weakness) affecting Yarp.ReverseProxy libraries in the NuGet ecosystem. The issue involves yarp denial of service vulnerability. Remediation is available by upgrading affected packages to version 1.0.1, 1.1.0-rc.1.22211.2.
CVE-2022-26924 at a Glance
Security Impact
CVSS: 7.5
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:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2022-26924
To remediate this vulnerability, upgrade all affected Yarp.ReverseProxy 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 Yarp.ReverseProxy to 1.0.1
Upgrade Yarp.ReverseProxy to 1.1.0-rc.1.22211.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Yarp.ReverseProxy
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-26924, inspect your project dependencies for Yarp.ReverseProxy:
inspect dependencies for Yarp.ReverseProxy
Analyze the terminal output to locate any version of Yarp.ReverseProxy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1), 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 Yarp.ReverseProxy, 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-26924 Affected Yarp.ReverseProxy Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Yarp.ReverseProxy
|
NuGet |
< 1.0.1
|
1.0.1
|
|
Yarp.ReverseProxy
|
NuGet |
≥ 1.1.0-rc.1.22152.1
< 1.1.0-rc.1.22211.2
All 1 versions
1.1.0-rc.1.22152.1
|
1.1.0-rc.1.22211.2
|
References
Frequently Asked Questions
What is CVE-2022-26924?
Which Yarp.ReverseProxy versions are affected?
What version fixes CVE-2022-26924?
Is Yarp.ReverseProxy affected?
What is the CVSS score of CVE-2022-26924?
What CWE is associated with CVE-2022-26924?
How can I check NuGet dependencies for CVE-2022-26924?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8xc6-g8xw-h2c4",
"modified" : "2022-04-22T20:23:44Z",
"published" : "2022-04-22T20:23:44Z",
"aliases" : [ "CVE-2022-26924" ],
"summary" : "YARP Denial of Service Vulnerability",
"details" : "### Impact\n\nA denial of service vulnerability exists in how YARP processes input.\n\n### Patches\n\nIf you're using YARP `1.0.0`, you should update to NuGet package version [`1.0.1`](https://www.nuget.org/packages/Yarp.ReverseProxy/1.0.1).\nIf you're using YARP `1.1.0-RC.1`, you should update to NuGet package version [`1.1.0-rc.1.22211.2`](https://www.nuget.org/packages/Yarp.ReverseProxy/1.1.0-rc.1.22211.2).\n\nYou can do so by updating the `PackageReference` in your `.csproj` file\n```diff\n<ItemGroup>\n- <PackageReference Include=\"Yarp.ReverseProxy\" Version=\"1.0.0\" />\n- <PackageReference Include=\"Yarp.Telemetry.Consumption\" Version=\"1.0.0\" />\n+ <PackageReference Include=\"Yarp.ReverseProxy\" Version=\"1.0.1\" />\n+ <PackageReference Include=\"Yarp.Telemetry.Consumption\" Version=\"1.0.1\" />\n</ItemGroup>\n```\nor by selecting `1.0.1` in the NuGet UI inside Visual Studio (`Manage NuGet Packages` / `Updates`)\n\n\n### References\n\n[CVE-2022-26924](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26924)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Yarp.ReverseProxy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Yarp.ReverseProxy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0-rc.1.22152.1"
}, {
"fixed" : "1.1.0-rc.1.22211.2"
} ]
} ],
"versions" : [ "1.1.0-rc.1.22152.1" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/microsoft/reverse-proxy/security/advisories/GHSA-8xc6-g8xw-h2c4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-26924"
}, {
"type" : "WEB",
"url" : "https://github.com/microsoft/reverse-proxy/commit/11e6272da17beb03d0b44a19d3c4f1ffa52b7c38"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/microsoft/reverse-proxy"
}, {
"type" : "WEB",
"url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26924"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-26924"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-04-22T20:23:44Z",
"nvd_published_at" : "2022-04-15T19:15:00Z"
}
}