Skip to content

Commit ca44710

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 13fee16 commit ca44710

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@
181181
<snapshotRepository>
182182
<id>sonatype-nexus-snapshots</id>
183183
<name>Sonatype Nexus Snapshots</name>
184-
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
184+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
185185
</snapshotRepository>
186186
<repository>
187187
<id>sonatype-nexus-staging</id>
188188
<name>Nexus Release Repository</name>
189-
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
189+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
190190
</repository>
191191
</distributionManagement>
192192
<properties>

0 commit comments

Comments
 (0)