Skip to content

Commit

Permalink
vuln-fix: Use HTTPS instead of HTTP to resolve deps CVE-2021-26291
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
JLLeitschuh and TeamModerne committed Jul 14, 2022
1 parent 6b34161 commit 8f7b9f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<repositories>
<repository>
<id>Akka repository</id>
<url>http://repo.akka.io/releases</url>
<url>https://repo.akka.io/releases</url>
</repository>
<repository>
<id>scala-tools</id>
Expand All @@ -20,11 +20,11 @@
</repository>
<repository>
<id>twitter</id>
<url>http://maven.twttr.com/</url>
<url>https://maven.twttr.com/</url>
</repository>
<repository>
<id>central2</id>
<url>http://central.maven.org/maven2/</url>
<url>https://central.maven.org/maven2/</url>
</repository>
</repositories>
<dependencies>
Expand Down

0 comments on commit 8f7b9f1

Please sign in to comment.