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 Oct 3, 2022
1 parent a7ca898 commit 569bd7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ allprojects {
repositories {
mavenLocal()
maven { url "https://repo.maven.apache.org/maven2" }
maven { url 'http://maven.restlet.org' }
maven { url 'https://maven.restlet.org' }
maven { url "https://jitpack.io" }
maven { url "http://oss.jfrog.org/artifactory/oss-release-local/" }
maven { url "http://maven.wso2.org/nexus/content/repositories/releases/" }
maven { url "https://oss.jfrog.org/artifactory/oss-release-local/" }
maven { url "https://maven.wso2.org/nexus/content/repositories/releases/" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
}
Expand Down

0 comments on commit 569bd7f

Please sign in to comment.