vuln-fix: Use HTTPS instead of HTTP to resolve dependencies (#4437)

This fixes a security vulnerability in this project where the `build.gradle`
files were configuring Gradle to resolve dependencies over HTTP instead of
HTTPS.

Weakness: CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Severity: High
CVSSS: 8.1
Detection: OpenRewrite

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/9


Co-authored-by: Moderne <team@moderne.io>

Co-authored-by: Moderne <team@moderne.io>
This commit is contained in:
Jonathan Leitschuh
2022-11-15 17:59:27 -08:00
committed by GitHub
parent fa0c08c170
commit 272b1d5d11
3 changed files with 7 additions and 7 deletions

View File

@@ -53,7 +53,7 @@
<repositories>
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<url>https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -63,7 +63,7 @@
</repository>
<repository>
<id>java.net</id>
<url>http://download.java.net/maven/2/</url>
<url>https://download.java.net/maven/2/</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -73,7 +73,7 @@
</repository>
<repository>
<id>aliyun</id>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<url>https://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>