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
JLLeitschuh and TeamModerne committed Jul 21, 2022
1 parent eb23783 commit 5546aac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified app/src/test/resources/receipt.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url 'http://repository.adincube.com/maven' }
maven { url 'https://repository.adincube.com/maven' }
maven { url "https://plugins.gradle.org/m2/" }

}
Expand All @@ -27,7 +27,7 @@ allprojects {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url 'http://repository.adincube.com/maven' }
maven { url 'https://repository.adincube.com/maven' }
}
}

Expand Down

0 comments on commit 5546aac

Please sign in to comment.