CVE-2023-33141: Yarp.ReverseProxy Denial of Service Vulnerability
HIGHCVE-2023-33141 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) 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.1.2, 2.0.1.
CVE-2023-33141 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-2023-33141
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.1.2
Upgrade Yarp.ReverseProxy to 2.0.1
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-2023-33141, 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.1.2), 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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-2023-33141 Affected Yarp.ReverseProxy Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Yarp.ReverseProxy
|
NuGet |
< 1.1.2
|
1.1.2
|
|
Yarp.ReverseProxy
|
NuGet |
≥ 2.0.0
< 2.0.1
All 1 versions
2.0.0
|
2.0.1
|
References
Frequently Asked Questions
What is CVE-2023-33141?
Which Yarp.ReverseProxy versions are affected?
What version fixes CVE-2023-33141?
Is Yarp.ReverseProxy affected?
What is the CVSS score of CVE-2023-33141?
What CWE is associated with CVE-2023-33141?
How can I check NuGet dependencies for CVE-2023-33141?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jrjw-qgr2-wfcg",
"modified" : "2023-06-23T21:37:26Z",
"published" : "2023-06-23T21:37:26Z",
"aliases" : [ "CVE-2023-33141" ],
"summary" : "YARP Denial of Service Vulnerability",
"details" : "### Impact\nA denial of service vulnerability exists in YARP.\n\n### Patches\nIf you're using YARP 1.x, you should update to NuGet package version [1.1.2](https://www.nuget.org/packages/Yarp.ReverseProxy/1.1.2).\nIf you're using YARP 2.0.0, you should update to NuGet package version [2.0.1](https://www.nuget.org/packages/Yarp.ReverseProxy/2.0.1).\n\n\nYou can do so by updating the `PackageReference` in your `.csproj` file\n```diff\n<ItemGroup>\n- <PackageReference Include=\"Yarp.ReverseProxy\" Version=\"2.0.0\" />\n- <PackageReference Include=\"Yarp.Telemetry.Consumption\" Version=\"2.0.0\" />\n+ <PackageReference Include=\"Yarp.ReverseProxy\" Version=\"2.0.1\" />\n+ <PackageReference Include=\"Yarp.Telemetry.Consumption\" Version=\"2.0.1\" />\n</ItemGroup>\n```\nor by selecting `2.0.1` in the NuGet UI inside Visual Studio (`Manage NuGet Packages` / `Updates`)\n\n### References\n\n[CVE-2023-33141](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-33141)\n",
"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.1.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.1"
}
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Yarp.ReverseProxy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.1"
} ]
} ],
"versions" : [ "2.0.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/microsoft/reverse-proxy/security/advisories/GHSA-jrjw-qgr2-wfcg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33141"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/microsoft/reverse-proxy"
}, {
"type" : "WEB",
"url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-33141"
}, {
"type" : "WEB",
"url" : "https://www.nuget.org/packages/Yarp.ReverseProxy/1.1.2"
}, {
"type" : "WEB",
"url" : "https://www.nuget.org/packages/Yarp.ReverseProxy/2.0.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-23T21:37:26Z",
"nvd_published_at" : "2023-06-23T02:15:09Z"
}
}