Resources Downloaded over Insecure Protocol Affecting org.apache.maven:maven-compat package, versions [,3.8.1)
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGAPACHEMAVEN-6144615
- published 4 Jan 2024
- disclosed 26 Apr 2021
- credit Unknown
Introduced: 26 Apr 2021
CVE-2021-26291 Open this link in a new tabHow to fix?
Upgrade org.apache.maven:maven-compat
to version 3.8.1 or higher.
Overview
Affected versions of this package are vulnerable to Resources Downloaded over Insecure Protocol. 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 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. For more information about repository management, visit this page.