Skip to content

Commit 4c0a74b

Browse files
committed
fix: update Microsoft.OpenApi to version 2.7.5 to address high-severity DoS vulnerability
1 parent 072a203 commit 4c0a74b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Directory.Packages.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.16.0" />
2121
<PackageVersion Include="Scalar.AspNetCore" Version="2.16.4" />
2222
<PackageVersion Include="Scalar.AspNetCore.Microsoft" Version="2.16.4" />
23+
<!-- Security pin (transitive): Microsoft.AspNetCore.OpenApi 10.0.9 / Asp.Versioning.OpenApi
24+
pull Microsoft.OpenApi 2.0.0, which has a high-severity DoS vuln
25+
(GHSA-v5pm-xwqc-g5wc / CVE-2026-49451 / NU1903; a circular schema reference can
26+
stack-overflow the parser; 2.0.0-preview11..2.7.4 affected). 2.7.5 is the patched 2.x
27+
release and stays ABI-compatible with the 2.x consumers above. -->
28+
<PackageVersion Include="Microsoft.OpenApi" Version="2.7.5" />
2329
</ItemGroup>
2430
<!-- Test -->
2531
<ItemGroup>

0 commit comments

Comments
 (0)