Skip to content

Commit

Permalink
vuln-fix: Use HTTPS instead of HTTP to resolve dependencies
Browse files Browse the repository at this point in the history
This fixes a security vulnerability in this project where the `build.gradle`
files were configuring Gradle to resolve dependencies over HTTP instead of
HTTPS.

Weakness: CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Severity: High
CVSSS: 8.1
Detection: OpenRewrite

Reported-by: Jonathan Leitschuh <[email protected]>
Signed-off-by: Jonathan Leitschuh <[email protected]>

Bug-tracker: JLLeitschuh/security-research#9

Co-authored-by: Moderne <[email protected]>
  • Loading branch information
2 people authored and nuxi committed Jun 28, 2023
1 parent ca8d819 commit 0d8e5d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jenkinsPlugin {
}

repositories {
maven { url 'http://bits.netbeans.org/maven2' }
maven { url 'http://repo.jenkins-ci.org/releases/' }
maven { url 'https://bits.netbeans.org/maven2' }
maven { url 'https://repo.jenkins-ci.org/releases/' }
jcenter()
mavenCentral()
}
Expand Down

0 comments on commit 0d8e5d4

Please sign in to comment.