GHSA-rrr2-jcr8-7q3x

Suggest an improvement
Source
https://github.com/advisories/GHSA-rrr2-jcr8-7q3x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-rrr2-jcr8-7q3x/GHSA-rrr2-jcr8-7q3x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rrr2-jcr8-7q3x
Aliases
  • CVE-2025-36852
Published
2025-06-10T21:31:23Z
Modified
2025-10-14T21:42:31.410395Z
Severity
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:P/AU:Y/R:U/V:C/RE:M/U:Red CVSS Calculator
Summary
@nx/azure-cache Vulnerable to Build Cache Poisoning via Untrusted Pull Requests
Details

A critical security vulnerability exists in remote cache extensions for common build systems utilizing bucket-based remote cache (such as those using Amazon S3, Google Cloud Storage, or similar object storage) that allows any contributor with pull request privileges to inject compromised artifacts from an untrusted environment into trusted production environments without detection. 

The vulnerability exploits a fundamental design flaw in the "first-to-cache wins" principle, where artifacts built in untrusted environments (feature branches, pull requests) can poison the cache used by trusted environments (protected branches, production deployments). 

This attack bypasses all traditional security measures including encryption, access controls, and checksum validation because the poisoning occurs during the artifact construction phase, before any security measures are applied.

Database specific
{
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-829"
    ],
    "nvd_published_at": "2025-06-10T20:15:22Z",
    "github_reviewed_at": "2025-10-14T19:16:59Z"
}
References

Affected packages

npm / @nx/azure-cache

Package

Name
@nx/azure-cache
View open source insights on deps.dev
Purl
pkg:npm/%40nx/azure-cache

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
4.0.0