CVE-2021-26291

published 23 Apr 2021 · updated 3 Aug 2024

block repositories using http by default

9.1CriticalCVSS 9.1EPSS 9%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 9%. No fixed version is recorded.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=Apache Maven <=3.8.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-26291 severity on Zeptric[![CVE-2021-26291](https://zeptric.io/badge/cve/CVE-2021-26291.svg)](https://zeptric.io/cve/CVE-2021-26291)