From 7ae6f07ac878d5d3310cc36bc02b2ceb8b7ae823 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Fri, 1 Jul 2022 20:49:17 +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(-) mode change 100755 => 100644 pom.xml diff --git a/pom.xml b/pom.xml old mode 100755 new mode 100644 index 01f0990..8f99ba4 --- a/pom.xml +++ b/pom.xml @@ -159,13 +159,13 @@ sagebionetworks sagebionetworks-releases - http://sagebionetworks.jfrog.io/sagebionetworks/libs-releases-local + https://sagebionetworks.jfrog.io/sagebionetworks/libs-releases-local sagebionetworks sagebionetworks-snapshots - http://sagebionetworks.jfrog.io/sagebionetworks/libs-snapshots-local + https://sagebionetworks.jfrog.io/sagebionetworks/libs-snapshots-local false