vuln-fix: Use HTTPS instead of HTTP to resolve deps CVE-2021-26291
This fixes a security vulnerability in this project where the `pom.xml` files were configuring Maven to resolve dependencies over HTTP instead of HTTPS. Weakness: CWE-829: Inclusion of Functionality from Untrusted Control Sphere Severity: High CVSS: 8.1 Detection: CodeQL & OpenRewrite (https://app.moderne.io/recipes/org.openrewrite.maven.security.UseHttpsForRepositories) Reported-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> Bug-tracker: https://github.com/JLLeitschuh/security-research/issues/8 Detection: CodeQL (https://codeql.github.com/codeql-query-help/java/java-maven-non-https-url/) & OpenRewrite (https://app.moderne.io/recipes/org.openrewrite.maven.security.UseHttpsForRepositories) Reported-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> Bug-tracker: https://github.com/JLLeitschuh/security-research/issues/8 Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/IfHkrYfxx?organizationId=QWxsIEdpdEh1Yg%3D%3D Co-authored-by: Moderne <team@moderne.io>
This commit is contained in:
parent
d518e9e5a4
commit
a95b76cdb4
8
pom.xml
8
pom.xml
@ -127,7 +127,7 @@
|
||||
<repository>
|
||||
<id>osgeo</id>
|
||||
<name>Open Source Geospatial Foundation Repository</name>
|
||||
<url>http://download.osgeo.org/webdav/geotools/</url>
|
||||
<url>https://download.osgeo.org/webdav/geotools/</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
@ -136,7 +136,7 @@
|
||||
<repository>
|
||||
<id>maven-restlet</id>
|
||||
<name>Restlet Maven Repository</name>
|
||||
<url>http://maven.restlet.org</url>
|
||||
<url>https://maven.restlet.org</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
@ -145,7 +145,7 @@
|
||||
<repository>
|
||||
<id>geosolutions</id>
|
||||
<name>geosolutions repository</name>
|
||||
<url>http://maven.geo-solutions.it/</url>
|
||||
<url>https://maven.geo-solutions.it/</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
@ -160,7 +160,7 @@
|
||||
<repository>
|
||||
<uniqueVersion>false</uniqueVersion>
|
||||
<id>geosolutions</id>
|
||||
<url>ftp://maven.geo-solutions.it/</url>
|
||||
<url>ftps://maven.geo-solutions.it/</url>
|
||||
</repository>
|
||||
<site>
|
||||
<id>demo.geosolutions</id>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user