Skip to content

Commit 2a5499e

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 304e825 commit 2a5499e

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
@@ -37,14 +37,14 @@
3737
<repositories>
3838
<repository>
3939
<id>repo.jenkins-ci.org</id>
40-
<url>http://repo.jenkins-ci.org/public/</url>
40+
<url>https://repo.jenkins-ci.org/public/</url>
4141
</repository>
4242
</repositories>
4343

4444
<pluginRepositories>
4545
<pluginRepository>
4646
<id>repo.jenkins-ci.org</id>
47-
<url>http://repo.jenkins-ci.org/public/</url>
47+
<url>https://repo.jenkins-ci.org/public/</url>
4848
</pluginRepository>
4949
</pluginRepositories>
5050
<dependencies>

0 commit comments

Comments
 (0)