From 272b1d5d119621af4d11ed7e295143860a09cd6d Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Tue, 15 Nov 2022 17:59:27 -0800 Subject: [PATCH] vuln-fix: Use HTTPS instead of HTTP to resolve dependencies (#4437) 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 Co-authored-by: Moderne --- client-adapter/pom.xml | 6 +++--- connector/pom.xml | 6 +++--- pom.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client-adapter/pom.xml b/client-adapter/pom.xml index 302ced94cf..463ea2e6a0 100644 --- a/client-adapter/pom.xml +++ b/client-adapter/pom.xml @@ -53,7 +53,7 @@ central - http://repo1.maven.org/maven2 + https://repo1.maven.org/maven2 true @@ -63,7 +63,7 @@ java.net - http://download.java.net/maven/2/ + https://download.java.net/maven/2/ true @@ -73,7 +73,7 @@ aliyun - http://maven.aliyun.com/nexus/content/groups/public/ + https://maven.aliyun.com/nexus/content/groups/public/ true diff --git a/connector/pom.xml b/connector/pom.xml index 744c8e20fa..951da13d86 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -39,7 +39,7 @@ central - http://repo1.maven.org/maven2 + https://repo1.maven.org/maven2 true @@ -49,7 +49,7 @@ java.net - http://download.java.net/maven/2/ + https://download.java.net/maven/2/ true @@ -59,7 +59,7 @@ aliyun - http://maven.aliyun.com/nexus/content/groups/public/ + https://maven.aliyun.com/nexus/content/groups/public/ true diff --git a/pom.xml b/pom.xml index 365de581c2..0416fcbc7c 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,7 @@ java.net - http://download.java.net/maven/2/ + https://download.java.net/maven/2/ true