Skip to content

Commit

Permalink
vuln-fix: Use HTTPS instead of HTTP to resolve dependencies (#4437)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jonathan Leitschuh <[email protected]>

Bug-tracker: JLLeitschuh/security-research#9


Co-authored-by: Moderne <[email protected]>

Co-authored-by: Moderne <[email protected]>
  • Loading branch information
JLLeitschuh and TeamModerne authored Nov 16, 2022
1 parent fa0c08c commit 272b1d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions client-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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>
Expand All @@ -49,7 +49,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>
Expand All @@ -59,7 +59,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>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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>
Expand Down

0 comments on commit 272b1d5

Please sign in to comment.