Skip to content

Commit 5e90016

Browse files
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 <Jonathan.Leitschuh@gmail.com> Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> Bug-tracker: JLLeitschuh/security-research#8 Co-authored-by: Moderne <team@moderne.io>
1 parent 2d6a768 commit 5e90016

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<repositories>
8282
<repository>
8383
<id>repo.jenkins-ci.org</id>
84-
<url>http://repo.jenkins-ci.org/public/</url>
84+
<url>https://repo.jenkins-ci.org/public/</url>
8585
</repository>
8686
<!-- A CF Java client shaded library is pre-installed in a local repository
8787
to allow building the project in a single 'mvn clean install'.
@@ -95,7 +95,7 @@
9595
<pluginRepositories>
9696
<pluginRepository>
9797
<id>repo.jenkins-ci.org</id>
98-
<url>http://repo.jenkins-ci.org/public/</url>
98+
<url>https://repo.jenkins-ci.org/public/</url>
9999
</pluginRepository>
100100
</pluginRepositories>
101101

0 commit comments

Comments
 (0)