CVE-2021-26291: block repositories using http by default
Vulnerability summary
CVE-2021-26291 is a critical (CVSS 9.1) Origin Validation Error vulnerability in apache software foundation apache maven. EPSS estimates a 8.69% chance of exploitation in the next 30 days, higher than 95.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 23-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Apache Maven will follow repositories that are defined in a dependency’s Project Object Model (pom) which may be surprising to some users, resulting in potential risk if a malicious actor takes over that repository or is able to insert themselves into a position to pretend to be that repository. Maven is changing the default behavior in 3.8.1+ to no longer follow http (non-SSL) repository references by default. More details available in the referenced urls. If you are currently using a repository manager to govern the repositories used by your builds, you are unaffected by the risks present in the legacy behavior, and are unaffected by this vulnerability and change to default behavior. See this link for more information about repository management: https://maven.apache.org/repository-management.html
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · MavenEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
8.69%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
No change 0.00 pp
From 8.69% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (whitesourcesoftware.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard92 products
- eco-java-gradle-1.11All versions (No fix recorded)
- eco-java-gradle-2.0All versions (No fix recorded)
- eco-java-gradle-2.1All versions (No fix recorded)
- eco-java-gradle-2.10All versions (No fix recorded)
- eco-java-gradle-2.11All versions (No fix recorded)
Oracle2 products
- financial_services_analytical_applications_infrastructure≥ 8.0.6.0.0, ≤ 8.0.9.0.0 | ≥ 8.1.0.0.0, ≤ 8.1.2.0
- goldengate_big_data_and_application_adapters23.1
Org.apache.maven2 products
- maven-compat< 3.8.1
- maven-core< 3.8.1
Apache1 product
- maven< 3.8.1
Apache software foundation1 product
- apache maven≥ Apache Maven, ≤ 3.8.1
Debian1 product
- maven< 3.8.6-1
Mageia1 product
- maven< 3.6.3-8.1.mga8
Quarkus1 product
- quarkus< 1.13.5
Ubuntu1 product
- mavenAll versions (No fix recorded) | < 3.3.9-3ubuntu0.1~esm1 | < 3.6.0-1~18.04.1ubuntu0.1~esm1 | < 3.6.3-1ubuntu0.1~esm1 | < 3.6.3-5ubuntu0.1~esm1
9 vendors · 102 products
References
102 links- www.openwall.com/lists/oss-security/2021/04/23/5Mailing ListX Refsource MLISTREPORTAdvisoryWEBThird Party Advisory
Show all 100 references
- www.whitesourcesoftware.com/resources/blog/maven-security-vulnerability-cve-2021-26291/X Refsource MISCEVIDENCEExploitThird Party Advisory
- github.com/apache/mavenPACKAGE
Showing 100 of 102.