NetSight
critical9.1

CVE-2021-26291

Origin Validation Error in Apache Maven

Impact

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

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.maven:maven-compat< 3.8.13.8.1
mavenorg.apache.maven:maven-core< 3.8.13.8.1

Affected products

VendorProductAffected versions
ApacheMaven
before 3.8.1
QuarkusQuarkus
before 1.13.5
OracleFinancial Services Analytical Applications Infrastructure
from 8.0.6.0.0 through 8.0.9.0.0
from 8.1.0.0.0 through 8.1.2.0
OracleGoldengate Big Data And Application Adapters
Version 23.1

Weakness classification

References