Skip to content

Commit 17e2417

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 6b74409 commit 17e2417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<repositories>
4141
<repository>
4242
<id>repo.jenkins-ci.org</id>
43-
<url>http://repo.jenkins-ci.org/public/</url>
43+
<url>https://repo.jenkins-ci.org/public/</url>
4444
</repository>
4545
</repositories>
4646

@@ -61,7 +61,7 @@
6161
<pluginRepositories>
6262
<pluginRepository>
6363
<id>repo.jenkins-ci.org</id>
64-
<url>http://repo.jenkins-ci.org/public/</url>
64+
<url>https://repo.jenkins-ci.org/public/</url>
6565
</pluginRepository>
6666
</pluginRepositories>
6767

0 commit comments

Comments
 (0)