From 40c59e4784c03c61cd611558d6fe1c5345822c7a Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Sat, 16 Dec 2023 16:46:09 +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 --- nacos-spring-boot-parent/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nacos-spring-boot-parent/pom.xml b/nacos-spring-boot-parent/pom.xml index f33492dab..c8fc38323 100644 --- a/nacos-spring-boot-parent/pom.xml +++ b/nacos-spring-boot-parent/pom.xml @@ -127,7 +127,7 @@ spring-milestone Spring Milestone - http://repo.spring.io/milestone + https://repo.spring.io/milestone false @@ -135,7 +135,7 @@ spring-snapshot Spring Snapshot - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true @@ -161,7 +161,7 @@ spring-milestone Spring Milestone - http://repo.spring.io/milestone + https://repo.spring.io/milestone false @@ -169,7 +169,7 @@ spring-snapshot Spring Snapshot - http://repo.spring.io/snapshot + https://repo.spring.io/snapshot true