From 19f71d40aa6cb6898fda5ebba78641c10c1b497a Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Sat, 16 Dec 2023 06:16:49 +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 --- pom.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 37ed10e2..c1b2d991 100644 --- a/pom.xml +++ b/pom.xml @@ -34,11 +34,11 @@ ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} latest-nightly latest-nightly - http://pdt-eg.github.io/Core-Plugin/nightly - http://pdt-eg.github.io/external-mirror/nightly - http://pulse00.github.io/Doctrine-Eclipse-Plugin/nightly - http://pulse00.github.io/Twig-Eclipse-Plugin/nightly - http://pulse00.github.io/eclipse-indexing-framework/nightly + https://pdt-eg.github.io/Core-Plugin/nightly + https://pdt-eg.github.io/external-mirror/nightly + https://pulse00.github.io/Doctrine-Eclipse-Plugin/nightly + https://pulse00.github.io/Twig-Eclipse-Plugin/nightly + https://pulse00.github.io/eclipse-indexing-framework/nightly @@ -46,32 +46,32 @@ yedit p2 - http://dadacoalition.org/yedit + https://dadacoalition.org/yedit eclipse p2 - http://download.eclipse.org/releases/${eclipse.name} + https://download.eclipse.org/releases/${eclipse.name} dltk p2 - http://download.eclipse.org/technology/dltk/updates-dev/${dltk.version}/ + https://download.eclipse.org/technology/dltk/updates-dev/${dltk.version}/ pdt p2 - http://download.eclipse.org/tools/pdt/updates/${pdt.version}/ + https://download.eclipse.org/tools/pdt/updates/${pdt.version}/ orbit p2 - http://download.eclipse.org/tools/orbit/downloads/drops/R20150519210750/repository/ + https://download.eclipse.org/tools/orbit/downloads/drops/R20150519210750/repository/ Sonatype-public SnakeYAML repository - http://oss.sonatype.org/content/groups/public/ + https://oss.sonatype.org/content/groups/public/ doctrine