From 0d8f935a9d1cf48900c6e15ee469532d91b4c236 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Thu, 14 Jul 2022 23:01:00 +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 --- cm-schema/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cm-schema/pom.xml b/cm-schema/pom.xml index 2101d7d..187aff2 100644 --- a/cm-schema/pom.xml +++ b/cm-schema/pom.xml @@ -104,12 +104,12 @@ cdh.releases.repo - http://maven.jenkins.cloudera.com:8081/artifactory/cdh-staging-local + https://maven.jenkins.cloudera.com:8081/artifactory/cdh-staging-local CDH Releases Repository cdh.snapshots.repo - http://maven.jenkins.cloudera.com:8081/artifactory/libs-snapshot-local + https://maven.jenkins.cloudera.com:8081/artifactory/libs-snapshot-local CDH Snapshots Repository