PT-2021-7897 · Apache+5 · Apache Maven+5
Published
2021-04-23
·
Updated
2026-04-11
·
CVE-2021-26291
CVSS v2.0
9.4
Critical
| Vector | AV: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.
Exploit
Fix
Origin Validation Error
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Maven
Astra Linux
Debian
Linuxmint
Red Os
Ubuntu