The third group is the most complex one but is important to understand the term context: repositories from the effective POMs from the dependency path to the artifact. The second group of repositories are based on inheritence, with ultimately the super POM containing the URL to Maven Central. The first group of repositories are defined in the settings.xml (both user and global). The order is described on the Repository Order page. So there are two main questions: what is the context and what is the order? The short story is: you're safe, dependencies are only downloaded from repositories within their context. This one was the hardest to analyze and explain. Possible hijacking of downloads by redirecting to custom repositories Sonatype has analyzed which domains were abandoned and has claimed these domains. Possible Domain Hijacking due to custom repositories using abandoned domains The decision was made to block such external HTTP repositories by default: this is done by providing a mirror in the conf/settings.xml blocking insecure HTTP external URLs. To solve this, we extended the mirror configuration with parameter,Īnd we added a new external:http:* mirror selector (like existing external:*), meaning “any external URL using HTTP”. This makes downloads via such repository a target for a MITM attack.Īt the same time, developers are probably not aware that for some downloads an insecure URL is being used.īecause uploaded POMs to Maven Central are immutable, a change for Maven was required. This means that Maven Central contains POMs with custom repositories that refer to a URL over HTTP. More and more repositories use HTTPS nowadays, but this hasn't always been the case. Possible Man-In-The-Middle-Attack due to custom repositories using HTTP We've split this up into three separate issues: We received a report from Jonathan Leitschuh about a vulnerability of custom repositories in dependency POMs. This release covers two CVEs: CVE-2021-26291 If you have any questions, please consult: Further releases of plugins will be made separately. The core release is independent of plugin releases. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting, and documentation from a central place. Maven is a software project management and comprehension tool. The Apache Maven team would like to announce the release of Maven 3.8.1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |