mirror of
https://github.com/github/codeql.git
synced 2026-01-06 03:00:24 +01:00
Adjust id tag and fix ending line error
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* @id java/unsafe-cert-trust
|
||||
* @name Unsafe implementation of trusting any certificate or missing hostname verification in SSL configuration
|
||||
* @description Unsafe implementation of the interface X509TrustManager, HostnameVerifier, and SSLSocket/SSLEngine ignores all SSL certificate validation errors when establishing an HTTPS connection, thereby making the app vulnerable to man-in-the-middle attacks.
|
||||
* @kind problem
|
||||
* @id java/unsafe-cert-trust
|
||||
* @tags security
|
||||
* external/cwe-273
|
||||
*/
|
||||
@@ -225,4 +225,5 @@ where
|
||||
aa instanceof X509TrustAllManagerInit or
|
||||
aa instanceof SSLEndpointIdentificationNotSet or
|
||||
aa instanceof RabbitMQEnableHostnameVerificationNotSet
|
||||
select aa, "Unsafe configuration of trusted certificates"
|
||||
select aa, "Unsafe configuration of trusted certificates"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user