From a43388f1b3cd889f91090506ddc03808a77c2af3 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Thu, 21 Jul 2022 15:40:14 +0000 Subject: [PATCH] vuln-fix: Use HTTPS instead of HTTP to resolve dependencies 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 Signed-off-by: Jonathan Leitschuh Bug-tracker: https://github.com/JLLeitschuh/security-research/issues/9 Co-authored-by: Moderne --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 9f63bb0c1..8ce9ea162 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } } }