From 3d1a2884b76cd0d820404630500587e0a4969753 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Sun, 17 Dec 2023 23:30:34 +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 CVSS: 8.1 Detection: CodeQL & OpenRewrite (https://app.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 Detection: CodeQL (https://codeql.github.com/codeql-query-help/java/java-maven-non-https-url/) & OpenRewrite (https://app.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 Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/IfHkrYfxx?organizationId=QWxsIEdpdEh1Yg%3D%3D Co-authored-by: Moderne --- dl4j-deeplearning-iris/pom.xml | 2 +- h2o-gbm/pom.xml | 2 +- tensorflow-image-recognition/pom.xml | 2 +- tensorflow-keras/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dl4j-deeplearning-iris/pom.xml b/dl4j-deeplearning-iris/pom.xml index 9f6f188..f14d7bb 100644 --- a/dl4j-deeplearning-iris/pom.xml +++ b/dl4j-deeplearning-iris/pom.xml @@ -10,7 +10,7 @@ confluent - http://packages.confluent.io/maven/ + https://packages.confluent.io/maven/ diff --git a/h2o-gbm/pom.xml b/h2o-gbm/pom.xml index 98e329d..e9c979f 100644 --- a/h2o-gbm/pom.xml +++ b/h2o-gbm/pom.xml @@ -10,7 +10,7 @@ confluent - http://packages.confluent.io/maven/ + https://packages.confluent.io/maven/ diff --git a/tensorflow-image-recognition/pom.xml b/tensorflow-image-recognition/pom.xml index 63c460b..09eaad1 100644 --- a/tensorflow-image-recognition/pom.xml +++ b/tensorflow-image-recognition/pom.xml @@ -10,7 +10,7 @@ confluent - http://packages.confluent.io/maven/ + https://packages.confluent.io/maven/ diff --git a/tensorflow-keras/pom.xml b/tensorflow-keras/pom.xml index d105c56..23fd436 100644 --- a/tensorflow-keras/pom.xml +++ b/tensorflow-keras/pom.xml @@ -10,7 +10,7 @@ confluent - http://packages.confluent.io/maven/ + https://packages.confluent.io/maven/