Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11e57bd

Browse files
committed
add change note for new Insecure Bean Validation query
1 parent 3378dd5 commit 11e57bd

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
lgtm,codescanning
2+
* New query "Insecure Bean Validation" (java/insecure-bean-validation) added. This query
3+
finds Server-Side Template Injections caused by untrusted data flowing from a Bean
4+
property being validated into a custom constraint violation error message. This
5+
vulnerability leads to arbitrary code execution.
6+

java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
2-
* @name Insecure Bean validation
2+
* @name Insecure Bean Validation
33
* @description User-controlled data may be evaluated as a Java EL expressions, leading to arbitrary code execution.
44
* @kind path-problem
55
* @problem.severity error
66
* @precision high
7-
* @id java/unsafe-eval
7+
* @id java/insecure-bean-validation
88
* @tags security
99
* external/cwe/cwe-094
1010
*/

0 commit comments

Comments
 (0)