Skip to content

Commit

Permalink
vuln-fix: Use HTTPS instead of HTTP to resolve dependencies
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 <Jonathan.Leitschuh@gmail.com>
Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

Bug-tracker: JLLeitschuh/security-research#9

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
JLLeitschuh and TeamModerne committed Jul 21, 2022
1 parent 2f6eb31 commit 7bbbcb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {

repositories {
maven { url "http://maven.aliyun.com/nexus/content/repositories/jcenter/" }
maven { url "https://maven.aliyun.com/nexus/content/repositories/jcenter/" }
mavenCentral()
jcenter()
google()
Expand All @@ -19,7 +19,7 @@ buildscript {

allprojects {
repositories {
maven { url "http://maven.aliyun.com/nexus/content/repositories/jcenter/" }
maven { url "https://maven.aliyun.com/nexus/content/repositories/jcenter/" }
mavenCentral()
jcenter()
google()
Expand Down

0 comments on commit 7bbbcb5

Please sign in to comment.