https://bugzilla.redhat.com/show_bug.cgi?id=1955739
Bug ID: 1955739 Summary: CVE-2021-26291 maven: Block repositories using http by default Product: Security Response Hardware: All OS: Linux Status: NEW Component: vulnerability Keywords: Security Severity: medium Priority: medium Assignee: security-response-team@redhat.com Reporter: psampaio@redhat.com CC: aboyko@redhat.com, aileenc@redhat.com, akoufoud@redhat.com, alazarot@redhat.com, almorale@redhat.com, anstephe@redhat.com, asoldano@redhat.com, atangrin@redhat.com, bbaranow@redhat.com, bmaxwell@redhat.com, brian.stansberry@redhat.com, cdewolf@redhat.com, chazlett@redhat.com, darran.lofthouse@redhat.com, dkreling@redhat.com, dosoudil@redhat.com, eleandro@redhat.com, etirelli@redhat.com, fjuma@redhat.com, gvarsami@redhat.com, ibek@redhat.com, iweiss@redhat.com, java-maint-sig@lists.fedoraproject.org, java-sig-commits@lists.fedoraproject.org, jcoleman@redhat.com, jochrist@redhat.com, jperkins@redhat.com, jstastny@redhat.com, jwon@redhat.com, kaycoth@redhat.com, kconner@redhat.com, krathod@redhat.com, kverlaen@redhat.com, kwills@redhat.com, ldimaggi@redhat.com, lgao@redhat.com, mizdebsk@redhat.com, mnovotny@redhat.com, msochure@redhat.com, msrb@redhat.com, msvehla@redhat.com, nwallace@redhat.com, pjindal@redhat.com, pmackay@redhat.com, rguimara@redhat.com, rrajasek@redhat.com, rstancel@redhat.com, rsvoboda@redhat.com, rwagner@redhat.com, smaestri@redhat.com, sochotni@redhat.com, tcunning@redhat.com, tkirby@redhat.com, tom.jenkinson@redhat.com, tzimanyi@redhat.com, yborgess@redhat.com Target Milestone: --- Classification: Other
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. 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.
References:
https://lists.apache.org/thread.html/r9a027668558264c4897633e66bcb7784099fde... https://lists.apache.org/thread.html/r06db4057b74e0598a412734f693a34a8836ac6... https://lists.apache.org/thread.html/r9a027668558264c4897633e66bcb7784099fde... http://www.openwall.com/lists/oss-security/2021/04/23/5 https://lists.apache.org/thread.html/r0556ce5db7231025785477739ee416b169d8af... https://lists.apache.org/thread.html/ra88a0eba7f84658cefcecc0143fd8bbad52c22... https://lists.apache.org/thread.html/r3f0450dcab7e63b5f233ccfbc6fca5f1867a75...