Vulnerability in Apache Maven

CVE-2021-26291

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

EPSS: 0.087 (94.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-26291?
CVE-2021-26291 is a critical-severity vulnerability in Apache Maven, classified under Origin Validation Error. CVSS score: 9.1/10. Published 2021-04-23.
How severe is CVE-2021-26291?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2021-26291 known to be exploited?
15 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.