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>pull/390/head
@@ -70,7 +70,7 @@ | |||
<pluginRepositories> | |||
<pluginRepository> | |||
<id>repo1</id> | |||
<url>http://repo1.maven.org/maven2</url> | |||
<url>https://repo1.maven.org/maven2</url> | |||
</pluginRepository> | |||
</pluginRepositories> | |||
@@ -139,26 +139,26 @@ | |||
<repositories> | |||
<repository> | |||
<id>repo1</id> | |||
<url>http://repo1.maven.org/maven2</url> | |||
<url>https://repo1.maven.org/maven2</url> | |||
<snapshots> | |||
<enabled>false</enabled> | |||
</snapshots> | |||
</repository> | |||
<repository> | |||
<id>sonatype</id> | |||
<url>http://oss.sonatype.org/content/repositories/snapshots</url> | |||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |||
<snapshots><enabled>true</enabled></snapshots> | |||
<releases><enabled>false</enabled></releases> | |||
</repository> | |||
<repository> | |||
<id>google-snapshots</id> | |||
<url>http://oss.sonatype.org/content/repositories/google-snapshots</url> | |||
<url>https://oss.sonatype.org/content/repositories/google-snapshots</url> | |||
<snapshots><enabled>true</enabled></snapshots> | |||
<releases><enabled>true</enabled></releases> | |||
</repository> | |||
<repository> | |||
<id>gwtquery-plugins</id> | |||
<url>http://gwtquery-plugins.googlecode.com/svn/mavenrepo</url> | |||
<url>https://gwtquery-plugins.googlecode.com/svn/mavenrepo</url> | |||
</repository> | |||
</repositories> | |||