Vulnerabilities · 2021 · Apache
CVE-2021-26291
Apache Maven vulnerability
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
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Maven, Quarkus, Financial Services Analytical Applications Infrastructure, Goldengate Big Data And Application Adapters. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Maven runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.apache.org/thread.html/r9a027668558264c4897633e66bcb7784099fdec9f9b22c38c2442f00%40% · Vendor Advisory
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- www.openwall.com/lists/oss-security/2021/04/23/5 · Third Party Advisory
- www.whitesourcesoftware.com/resources/blog/maven-security-vulnerability-cve-2021-26291/ · Exploit
- lists.apache.org/thread.html/r0556ce5db7231025785477739ee416b169d8aff5ee9bac7854d64736%40%
- lists.apache.org/thread.html/r06db4057b74e0598a412734f693a34a8836ac6f06d16d139e5e1027c%40%
- lists.apache.org/thread.html/r07a89b32783f73bda6903c1f9aadeb859e5bef0a4daed6d87db8e4a9%40%
- lists.apache.org/thread.html/r08a401f8c98a99f68d061fde6e6659d695f28d60fe4f0413bcb355b0%40%
- nvd.nist.gov/vuln/detail/CVE-2021-26291
- cve.org/CVERecord?id=CVE-2021-26291
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.