CVE-2022-25364 Misconfiguration in n/a

High 8.1 Published Updated

Default anonymous write access in Gradle Enterprise build cache allows attackers to inject malicious code executed during builds.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-25364?

CVE-2022-25364 is a high-severity vulnerability in n/a, published on 17 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Gradle Enterprise before 2021.4.2, the default built-in build cache configuration allowed anonymous write access. If this was not manually changed, a malicious actor with network access to the build cache could potentially populate it with manipulated entries that execute malicious code as part of a build. As of 2021.4.2, the built-in build cache is inaccessible-by-default, requiring explicit configuration of its access-control settings before it can be used. (Remote build cache nodes are unaffected as they are inaccessible-by-default.)

Weakness: CWE-276

Which versions are affected by CVE-2022-25364?

It affects 1 product.

Products include Gradle Enterprise.

How do I fix CVE-2022-25364?

No fix has been published for CVE-2022-25364 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-25364 being exploited?

There is no known exploitation of CVE-2022-25364 in the wild and no public exploit code.

Sources

Also known as GHSA-rqrc-wvq6-vxfv.

Is CVE-2022-25364 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free