Java: add sanitizer to command injection query

This commit is contained in:
Kristen Newbury
2023-08-21 12:20:04 -04:00
parent 6d85d0d0f7
commit 5e01e1d464
2 changed files with 6 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ private class DefaultCommandInjectionSanitizer extends CommandInjectionSanitizer
or
this.getType() instanceof BoxedType
or
this.getType() instanceof NumberType
or
isSafeCommandArgument(this.asExpr())
}
}