12.32.0
Security
Fixed SpEL injection vulnerability
SpelExpressionProcessor,SpelExpressionProcessorFactory,QueryCondition, andDocumentMigrationServiceevaluated user-supplied SpEL expressions usingStandardEvaluationContext, which grants unrestricted access to Java types and methods. An authenticated user could exploit this to execute arbitrary OS commands, exfiltrate environment variables, or load arbitrary classes. These classes now useSimpleEvaluationContext, which only allows property access and blocks type references, constructors, and static method invocation.
Last updated