Race Condition Affecting dotnet5.0-build-reference-packages package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.34% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-DOTNET50BUILDREFERENCEPACKAGES-12620586
  • published11 Sept 2025
  • disclosed10 Sept 2025

Introduced: 10 Sep 2025

CVE-2025-59052  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 dotnet5.0-build-reference-packages.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dotnet5.0-build-reference-packages package and not the dotnet5.0-build-reference-packages package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Angular uses a DI container (the "platform injector") to hold request-specific state during server-side rendering. For historical reasons, the container was stored as a JavaScript module-scoped global variable. When multiple requests are processed concurrently, they could inadvertently share or overwrite the global injector state. In practical terms, this can lead to one request responding with data meant for a completely different request, leaking data or tokens included on the rendered page or in response headers. As long as an attacker had network access to send any traffic that received a rendered response, they may have been able to send a large number of requests and then inspect the responses for information leaks. The APIs bootstrapApplication, getPlatform, and destroyPlatform were vulnerable and required SSR-only breaking changes. The issue has been patched in all active release lines as well as in the v21 prerelease. Patched packages include @angular/platform-server 21.0.0-next.3, 20.3.0, 19.2.15, and 18.2.14 and @angular/ssr 21.0.0-next.3, 20.3.0, 19.2.16, and 18.2.21. Several workarounds are available. Disable SSR via Server Routes or builder options, remove any asynchronous behavior from custom bootstrap functions, remove uses of getPlatform() in application code, and/or ensure that the server build defines ngJitMode as false.

CVSS Base Scores

version 3.1