Skip to content

Commit 6db1d36

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 <[email protected]> Signed-off-by: Jonathan Leitschuh <[email protected]> Bug-tracker: JLLeitschuh/security-research#8 Co-authored-by: Moderne <[email protected]>
1 parent 6b34161 commit 6db1d36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<repositories>
99
<repository>
1010
<id>Akka repository</id>
11-
<url>http://repo.akka.io/releases</url>
11+
<url>https://repo.akka.io/releases</url>
1212
</repository>
1313
<repository>
1414
<id>scala-tools</id>
@@ -20,11 +20,11 @@
2020
</repository>
2121
<repository>
2222
<id>twitter</id>
23-
<url>http://maven.twttr.com/</url>
23+
<url>https://maven.twttr.com/</url>
2424
</repository>
2525
<repository>
2626
<id>central2</id>
27-
<url>http://central.maven.org/maven2/</url>
27+
<url>https://central.maven.org/maven2/</url>
2828
</repository>
2929
</repositories>
3030
<dependencies>

0 commit comments

Comments
 (0)