From 5066a21a5f1b1b1a6ebdcd0dfc52de7ea22f02ef Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Thu, 14 Jul 2022 22:41:37 +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/8 Co-authored-by: Moderne --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 33a4e9f..d283c75 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ sk89q-repo - http://maven.sk89q.com/repo/ + https://maven.sk89q.com/repo/ codemc-repo @@ -31,7 +31,7 @@ vault-repo - http://nexus.hc.to/content/repositories/pub_releases/ + https://nexus.hc.to/content/repositories/pub_releases/ minebench-repo