Skip to main content

Origin Validation Error in org.apache.maven:apache-maven

CVE-2021-26291

  • org.apache.maven:apache-maven
  • org.apache.maven:maven-compat
  • org.apache.maven:maven-core
Severity High
Score 9.1/10

Summary

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 behaviour in 3.8.1 and after, 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 behaviour, and are unaffected by this vulnerability and change to default behaviour. See this link for more information about repository management: https://maven.apache.org/repository-management.html

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-346 - Origin Validation Error

The software does not properly verify that the source of data or communication is valid.

Advisory Timeline

  • Published