From 7bbbcb540b081991f44cdb5a5a08ab0c066f4a44 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Thu, 21 Jul 2022 15:40:18 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 2c888b2..3ad23f3 100644 --- a/build.gradle +++ b/build.gradle @@ -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() @@ -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()