Spring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL…
Spring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL expressions in the resulting query string. As a result, an argument that contains a SpEL expression is evaluated as part of the query, even if the declared query does not use SpEL. An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders. In that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Spring
- Product
- Spring Data Elasticsearch
- CVSS v3.1
- 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Exposure class
- Developer platform, Database
- NVD status
- Received
Why it ranks 36 (Notable)
- CVSS v3.1 8.8 high
- Product class: developer platform, database
- Widely deployed vendor product (Spring)
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.