CVE-2024-12539: Elasticsearch Incorrect Authorization vulnerability
6
CVSS Score
4.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.21181%
CWE
Published
12/17/2024
Updated
12/17/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.elasticsearch:elasticsearch | maven | >= 8.16.0, < 8.16.2 | 8.16.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability centers on Document Level Security (DLS) bypass via improper authorization in query processing. Based on Elasticsearch's architecture:
- SecurityIndexSearcherWrapper is a core component for applying DLS filters during query execution. Flaws here could allow queries to skip security constraints.
- DLSRoleQueryValidator handles query validation for role-based access. Incorrect validation logic could permit unsafe query structures. The confidence is 'medium' because the exact patch details are unavailable, but these functions align with the described vulnerability mechanism and Elasticsearch's security implementation patterns.