|
2 | 2 | <PropertyGroup> |
3 | 3 | <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> |
4 | 4 | <!-- Enables overriding a transitive dependency's version from a PackageVersion entry below. |
5 | | - Required for the MessagePack and Microsoft.OpenApi security pins; remove together with |
6 | | - those pins once they're no longer needed. --> |
| 5 | + Required only for the "Transitive security pins" section; remove together with its |
| 6 | + last entry. --> |
7 | 7 | <CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> |
8 | 8 | </PropertyGroup> |
9 | 9 |
|
|
43 | 43 | <!-- Aspire integration for the Redis lock provider opt-in. Only the AppHost needs it. --> |
44 | 44 | <PackageVersion Include="Aspire.Hosting.Redis" Version="13.4.4" /> |
45 | 45 | <PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="10.7.0" /> |
46 | | - <!-- Security pin (not referenced directly). Aspire 13.4.3 pulls MessagePack 2.5.192 |
47 | | - transitively, which GHSA-hv8m-jj95-wg3x flags as a high-severity LZ4-decompression |
48 | | - crash; 2.5.301 is the first patched 2.5.x release. NuGet audit + warnings-as-errors |
49 | | - turns the advisory into a restore-breaking NU1903. Remove this (and the |
50 | | - CentralPackageTransitivePinningEnabled property above) once Aspire ships a |
51 | | - MessagePack >= 2.5.301 transitively. --> |
| 46 | + </ItemGroup> |
| 47 | + |
| 48 | + <!-- |
| 49 | + Transitive security pins — no project references these directly. Each entry force-upgrades |
| 50 | + a vulnerable transitive dependency that NuGet audit (with warnings-as-errors) would |
| 51 | + otherwise turn into a restore-breaking NU1903. Remove an entry once its parent package |
| 52 | + ships a patched version transitively; the entry's comment names the parent and the first |
| 53 | + patched release to watch for. |
| 54 | + --> |
| 55 | + <ItemGroup Label="Transitive security pins"> |
| 56 | + <!-- Aspire pulls MessagePack 2.5.192, which GHSA-hv8m-jj95-wg3x flags as a high-severity |
| 57 | + LZ4-decompression crash; 2.5.301 is the first patched 2.5.x release. --> |
52 | 58 | <PackageVersion Include="MessagePack" Version="2.5.301" /> |
53 | | - <!-- Security pin (not referenced directly). Microsoft.AspNetCore.OpenApi pulls |
54 | | - Microsoft.OpenApi 2.0.0 transitively, which GHSA-v5pm-xwqc-g5wc flags as a |
55 | | - high-severity stack overflow when parsing circular schema references; 2.7.5 is the |
56 | | - first patched 2.x release. Remove once Microsoft.AspNetCore.OpenApi ships |
57 | | - Microsoft.OpenApi >= 2.7.5 transitively. --> |
| 59 | + <!-- Microsoft.AspNetCore.OpenApi pulls Microsoft.OpenApi 2.0.0, which GHSA-v5pm-xwqc-g5wc |
| 60 | + flags as a high-severity stack overflow on circular schema references; 2.7.5 is the |
| 61 | + first patched 2.x release. --> |
58 | 62 | <PackageVersion Include="Microsoft.OpenApi" Version="2.7.5" /> |
59 | 63 | </ItemGroup> |
60 | 64 |
|
|
0 commit comments