mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
Apply suggestions from code review
Co-Authored-By: Felicity Chapman <felicitymay@github.com> Co-Authored-By: yo-h <55373593+yo-h@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
21193bd780
commit
f341234edb
@@ -12,7 +12,7 @@ against your project's users.
|
||||
</p>
|
||||
|
||||
<p>This vulnerability has a
|
||||
<a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H&version=3.1">
|
||||
<a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H&version=3.1">
|
||||
CVSS v3.1 base score of 8.1/10
|
||||
</a>.</p>
|
||||
|
||||
@@ -37,7 +37,7 @@ The first shows the use of HTTP, the second shows the use of HTTPS.
|
||||
<references>
|
||||
<li>
|
||||
Research:
|
||||
<a href="https://medium.com/bugbountywriteup/want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-1fc329d898fb?source=friends_link&sk=3c99970c55a899ad9ef41f126efcde0e">
|
||||
<a href="https://medium.com/bugbountywriteup/want-to-take-over-the-java-ecosystem-all-you-need-is-a-mitm-1fc329d898fb?source=friends_link&sk=3c99970c55a899ad9ef41f126efcde0e">
|
||||
Want to take over the Java ecosystem? All you need is a MITM!
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/**
|
||||
* @name Failure to use HTTPS or SFTP URL in Maven artifact upload/download
|
||||
* @description Non-HTTPS connections can be intercepted by third parties.
|
||||
* @kind path-problem
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @precision very high
|
||||
* @precision very-high
|
||||
* @id java/maven/non-https-url
|
||||
* @tags security
|
||||
* external/cwe/cwe-319
|
||||
@@ -35,4 +35,4 @@ from DeclaredRepository repository
|
||||
where repository.isInsecureRepositoryUsage()
|
||||
select
|
||||
repository,
|
||||
"Downloading or uploading artifacts over insecure protocol (eg. http or ftp) to repository " + repository.getUrl()
|
||||
"Downloading or uploading artifacts over insecure protocol (eg. http or ftp) to/from repository " + repository.getUrl()
|
||||
|
||||
Reference in New Issue
Block a user