CVEfocus › CVE database › CVE-2021-26291

CVE-2021-26291block repositories using http by default

CVSS 9.1 CriticalEPSS 8.7% (higher than 96% of CVEs)Published 2021-04-23Updated 2024-08-03Assigner: apache

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

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
5Fix pending
88Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04mavenNot affected
vulnerable_code_not_present
Ubuntu 25.10mavenNot affected
vulnerable_code_not_present
Ubuntu 24.04mavenNot affected
vulnerable_code_not_present
Ubuntu 22.04mavenFix pending3.6.3-5ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-26291
Ubuntu 20.04mavenFix pending3.6.3-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-26291
Ubuntu 18.04mavenFix pending3.6.0-1~18.04.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-26291
Ubuntu 16.04mavenFix pending3.3.9-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-26291
Ubuntu 14.04mavenFix pendingUBUNTU-CVE-2021-26291
Debian 14mavenFixed3.8.6-1DEBIAN-CVE-2021-26291
Debian 13mavenFixed3.8.6-1DEBIAN-CVE-2021-26291
Debian 12mavenFixed3.8.6-1DEBIAN-CVE-2021-26291
Red Hat Enterprise Linux 9aopallianceWill not fix
Will not fix
Red Hat Enterprise Linux 9apache-commons-cliWill not fix
Will not fix
Red Hat Enterprise Linux 9apache-commons-codecWill not fix
Will not fix
Red Hat Enterprise Linux 9apache-commons-ioWill not fix
Will not fix
Red Hat Enterprise Linux 9atinjectWill not fix
Will not fix
Red Hat Enterprise Linux 9google-guiceWill not fix
Will not fix
Red Hat Enterprise Linux 9guavaWill not fix
Will not fix
Red Hat Enterprise Linux 9httpcomponents-clientWill not fix
Will not fix
Red Hat Enterprise Linux 9httpcomponents-coreWill not fix
Will not fix
Red Hat Enterprise Linux 9jakarta-annotationsWill not fix
Will not fix
Red Hat Enterprise Linux 9jansiWill not fix
Will not fix
Red Hat Enterprise Linux 9jcl-over-slf4jWill not fix
Will not fix
Red Hat Enterprise Linux 9jsr-305Will not fix
Will not fix
Red Hat Enterprise Linux 9mavenWill not fix
Will not fix
Red Hat Enterprise Linux 9maven-libWill not fix
Will not fix
Red Hat Enterprise Linux 9maven-openjdk11Will not fix
Will not fix
Red Hat Enterprise Linux 9maven-openjdk17Will not fix
Will not fix
Red Hat Enterprise Linux 9maven-openjdk21Will not fix
Will not fix
Red Hat Enterprise Linux 9maven-openjdk25Will not fix
Will not fix
Red Hat Enterprise Linux 9maven-openjdk8Will not fix
Will not fix
Red Hat Enterprise Linux 9maven-resolverWill not fix
Will not fix
Red Hat Enterprise Linux 9maven-shared-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 9maven-unboundWill not fix
Will not fix
Red Hat Enterprise Linux 9maven-wagonWill not fix
Will not fix
Red Hat Enterprise Linux 9plexus-cipherWill not fix
Will not fix
Red Hat Enterprise Linux 9plexus-classworldsWill not fix
Will not fix
Red Hat Enterprise Linux 9plexus-containersWill not fix
Will not fix
Red Hat Enterprise Linux 9plexus-containers-component-annotationsWill not fix
Will not fix
Red Hat Enterprise Linux 9plexus-interpolationWill not fix
Will not fix
Red Hat Enterprise Linux 9plexus-sec-dispatcherWill not fix
Will not fix
Red Hat Enterprise Linux 9plexus-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 9sisuWill not fix
Will not fix
Red Hat Enterprise Linux 9slf4jWill not fix
Will not fix
Red Hat Enterprise Linux 8aopallianceWill not fix
Will not fix
Red Hat Enterprise Linux 8apache-commons-cliWill not fix
Will not fix
Red Hat Enterprise Linux 8apache-commons-codecWill not fix
Will not fix
Red Hat Enterprise Linux 8apache-commons-ioWill not fix
Will not fix
Red Hat Enterprise Linux 8apache-commons-lang3Will not fix
Will not fix
Red Hat Enterprise Linux 8apache-commons-loggingWill not fix
Will not fix
Red Hat Enterprise Linux 8atinjectWill not fix
Will not fix
Red Hat Enterprise Linux 8cdi-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8geronimo-annotationWill not fix
Will not fix
Red Hat Enterprise Linux 8glassfish-elWill not fix
Will not fix
Red Hat Enterprise Linux 8glassfish-el-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8google-guiceWill not fix
Will not fix
Red Hat Enterprise Linux 8guavaWill not fix
Will not fix
Red Hat Enterprise Linux 8guava20Will not fix
Will not fix
Red Hat Enterprise Linux 8hawtjniWill not fix
Will not fix
Red Hat Enterprise Linux 8hawtjni-runtimeWill not fix
Will not fix
Red Hat Enterprise Linux 8httpcomponents-clientWill not fix
Will not fix
Red Hat Enterprise Linux 8httpcomponents-coreWill not fix
Will not fix
Red Hat Enterprise Linux 8jakarta-annotationsWill not fix
Will not fix
Red Hat Enterprise Linux 8jansiWill not fix
Will not fix
Red Hat Enterprise Linux 8jansi-nativeWill not fix
Will not fix
Red Hat Enterprise Linux 8jboss-interceptors-1.2-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8jcl-over-slf4jWill not fix
Will not fix
Red Hat Enterprise Linux 8jsoupWill not fix
Will not fix
Red Hat Enterprise Linux 8jsr-305Will not fix
Will not fix
Red Hat Enterprise Linux 8mavenWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-libWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-openjdk11Will not fix
Will not fix
Red Hat Enterprise Linux 8maven-openjdk17Will not fix
Will not fix
Red Hat Enterprise Linux 8maven-openjdk21Will not fix
Will not fix
Red Hat Enterprise Linux 8maven-openjdk8Will not fix
Will not fix
Red Hat Enterprise Linux 8maven-resolverWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-resolver-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-resolver-connector-basicWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-resolver-implWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-resolver-spiWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-resolver-transport-wagonWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-resolver-utilWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-shared-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagonWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-fileWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-httpWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-http-sharedWill not fix
Will not fix
Red Hat Enterprise Linux 8maven-wagon-provider-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8plexus-cipherWill not fix
Will not fix
Red Hat Enterprise Linux 8plexus-classworldsWill not fix
Will not fix
Red Hat Enterprise Linux 8plexus-containersWill not fix
Will not fix
Red Hat Enterprise Linux 8plexus-containers-component-annotationsWill not fix
Will not fix
Red Hat Enterprise Linux 8plexus-interpolationWill not fix
Will not fix
Red Hat Enterprise Linux 8plexus-sec-dispatcherWill not fix
Will not fix
Red Hat Enterprise Linux 8plexus-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 8sisuWill not fix
Will not fix
Red Hat Enterprise Linux 8sisu-injectWill not fix
Will not fix
Red Hat Enterprise Linux 8sisu-plexusWill not fix
Will not fix
Red Hat Enterprise Linux 8slf4jWill not fix
Will not fix
Maven libraryorg.apache.maven:maven-compatFixed3.8.1GHSA-2f88-5hg8-9x2x
Maven libraryorg.apache.maven:maven-coreFixed3.8.1GHSA-2f88-5hg8-9x2x

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.