From d4f66c579aa24a158c5eff8c828a09cd050a6a64 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Fri, 1 Jul 2022 14:09:18 +0000 Subject: [PATCH] vuln-fix: Use HTTPS instead of HTTP to resolve deps CVE-2021-26291 This fixes a security vulnerability in this project where the `pom.xml` files were configuring Maven to resolve dependencies over HTTP instead of HTTPS. Weakness: CWE-829: Inclusion of Functionality from Untrusted Control Sphere Severity: High CVSSS: 8.1 Detection: CodeQL & OpenRewrite (https://public.moderne.io/recipes/org.openrewrite.maven.security.UseHttpsForRepositories) Reported-by: Jonathan Leitschuh Signed-off-by: Jonathan Leitschuh Bug-tracker: https://github.com/JLLeitschuh/security-research/issues/7 Co-authored-by: Moderne --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1c83da8..561c468 100644 --- a/pom.xml +++ b/pom.xml @@ -158,7 +158,7 @@ maven-central maven-central - http://maven.aliyun.com/nexus/content/groups/public/ + https://maven.aliyun.com/nexus/content/groups/public/ true @@ -171,8 +171,8 @@ maven-public HXLC Nexus Repository - http://59.172.25.122:8086/repository/maven-public/ + https://59.172.25.122:8086/repository/maven-public/ - \ No newline at end of file +