move to CWE-347, update comments of tests

This commit is contained in:
amammad
2023-11-02 16:24:58 +01:00
parent 9da815a5c0
commit faa483a282
9 changed files with 134 additions and 11 deletions

View File

@@ -3,11 +3,11 @@
* @description The application does not verify the JWT payload with a cryptographic secret or public key.
* @kind path-problem
* @problem.severity error
* @security-severity 9.0
* @security-severity 8.0
* @precision high
* @id js/jwt-missing-verification
* @id js/jwt-missing-verification-jsonwebtoken
* @tags security
* external/cwe/cwe-321
* external/cwe/cwe-347
*/
import javascript

View File

@@ -2,10 +2,10 @@
* @name JWT missing secret or public key verification
* @description The application does not verify the JWT payload with a cryptographic secret or public key.
* @kind problem
* @problem.severity warning
* @security-severity 7.0
* @problem.severity error
* @security-severity 8.0
* @precision high
* @id js/jwt-missing-verification
* @id js/jwt-missing-verification-jose
* @tags security
* external/cwe/cwe-347
*/

View File

@@ -2,10 +2,10 @@
* @name JWT missing secret or public key verification
* @description The application does not verify the JWT payload with a cryptographic secret or public key.
* @kind problem
* @problem.severity warning
* @security-severity 7.0
* @problem.severity error
* @security-severity 8.0
* @precision high
* @id js/jwt-missing-verification
* @id js/jwt-missing-verification-jwt-decode
* @tags security
* external/cwe/cwe-347
*/

View File

@@ -2,8 +2,8 @@
* @name JWT missing secret or public key verification
* @description The application does not verify the JWT payload with a cryptographic secret or public key.
* @kind problem
* @problem.severity warning
* @security-severity 7.0
* @problem.severity error
* @security-severity 8.0
* @precision high
* @id js/jwt-missing-verification
* @tags security