Skip to content

Commit 63e209c

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#7 Co-authored-by: Moderne <[email protected]>
1 parent 32ddd07 commit 63e209c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@
6060
<snapshotRepository>
6161
<id>sonatype-nexus-snapshots</id>
6262
<name>Sonatype Nexus Snapshots</name>
63-
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
63+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
6464
</snapshotRepository>
6565
<repository>
6666
<id>sonatype-nexus-staging</id>
6767
<name>Nexus Release Repository</name>
68-
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
68+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
6969
</repository>
7070
</distributionManagement>
7171

0 commit comments

Comments
 (0)