PT-2021-7897

CVE-2021-26291

·

Published

2021-04-23

·

Updated

2026-11-20

Description by

CVSS 2.0
9.4
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions Apache Maven versions prior to 3.8.1
Description The issue is related to shortcomings in the mechanism of confirming the source of data in the Apache Maven framework. Exploitation of this issue may allow a remote attacker to gain unauthorized access to protected information. The problem arises because Apache Maven follows repositories defined in a dependency's Project Object Model (pom), which can pose a risk if a malicious actor takes control of that repository or inserts themselves into a position to pretend to be that repository.
Recommendations For versions prior to 3.8.1, update to version 3.8.1 or later to change the default behavior and no longer follow http (non-SSL) repository references by default. 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. Consider using a repository manager to minimize the risk of exploitation. As a temporary workaround, consider restricting access to non-SSL repository references until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-2F88-5HG8-9X2X
BIT-MAVEN-2021-26291
CLEANSTART-2026-QE34500
CLSA-2026-1786433114
MGASA-2023-0230
OESA-2021-1276
OPENSUSE-SU-2024:10687-1
OPENSUSE-SU-2024:11042-1
RHSA-2023:3198
RHSA-2024:0776
RHSA-2024:0778
USN-5245-1
USN-5805-1
Found an issue in the description? Have something to add? Feel free to write us 👾