VDB
Sign up
HIGH7.5

GHSA-8xc6-g8xw-h2c4

YARP Denial of Service Vulnerability

Quick fix

GHSA-8xc6-g8xw-h2c4 — Yarp.ReverseProxy: upgrade to the fixed version with the command below.

dotnet add package Yarp.ReverseProxy --version 1.0.1

Details

### Impact

A denial of service vulnerability exists in how YARP processes input.

### Patches

If 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). If 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).

You can do so by updating the `PackageReference` in your `.csproj` file ```diff <ItemGroup> - <PackageReference Include="Yarp.ReverseProxy" Version="1.0.0" /> - <PackageReference Include="Yarp.Telemetry.Consumption" Version="1.0.0" /> + <PackageReference Include="Yarp.ReverseProxy" Version="1.0.1" /> + <PackageReference Include="Yarp.Telemetry.Consumption" Version="1.0.1" /> </ItemGroup> ``` or by selecting `1.0.1` in the NuGet UI inside Visual Studio (`Manage NuGet Packages` / `Updates`) ![image](https://user-images.githubusercontent.com/25307628/162951795-a30f8ed7-77ef-4c4f-920e-58d9e1587ad1.png)

### References

[CVE-2022-26924](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26924)

Are you affected?

Enter the version of the package you're using.

Affected packages

NuGet/Yarp.ReverseProxy
Introduced in: 0Fixed in: 1.0.1
Fixdotnet add package Yarp.ReverseProxy --version 1.0.1
NuGet/Yarp.ReverseProxy
Introduced in: 1.1.0-rc.1.22152.1Fixed in: 1.1.0-rc.1.22211.2
Fixdotnet add package Yarp.ReverseProxy --version 1.1.0-rc.1.22211.2

References