A vulnerability in Gradle (versions 5.1 through 6.x) allows repository content filtering to be bypassed when used within a pluginManagement block in a settings file. This can result in Gradle searching all configured repositories for dependencies, ignoring specified content filters. The issue exposes builds to information disclosure and dependency confusion attacks, as dependency requests may be sent to unintended repositories, potentially leaking internal package names or allowing malicious packages to be resolved.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
buildscript.repositories, which is supported since Gradle 5.1.Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository demonstrates the vulnerability described in CVE-2021-29427, which involves unsafe downloading of plugins in Java-based build tools like Gradle. The core of the repository consists of two Java files: 'VulnerableDownloader.java' and 'SafeDownloader.java'. - 'VulnerableDownloader.java' simulates the vulnerable behavior by downloading a JAR file from an arbitrary URL (defaulting to 'http://untrusted.example.com/plugins/fake-malware.jar') without any validation of the source or file type. This mimics a scenario where an attacker could supply a malicious plugin, leading to potential remote code execution if the JAR is later loaded or executed. - 'SafeDownloader.java' provides a remediated version, restricting downloads to a trusted domain and enforcing a '.jar' file extension check. A shell script ('fix.sh') is included to automate the replacement of the vulnerable file with the safe version, and a GitHub Actions workflow is present for code scanning. The repository is structured as a demonstration and proof-of-concept for the vulnerability, not as a weaponized exploit. The main attack vector is network-based, targeting systems that download and execute plugins from untrusted sources.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.