CVE-2024-23449: Elasticsearch Uncaught Exception leading to crash
An uncaught exception in Elasticsearch = 8.4.0 and < 8.11.1 occurs when an encrypted PDF is passed to an attachment processor through the REST API. The Elasticsearch ingest node that attempts to parse the PDF file will crash. This does not happen with password-protected PDF files or with unencrypted PDF files.
Published Mar 29, 2024 · Updated May 27, 2025
Affected packages
org.elasticsearch:elasticsearch
- Ecosystem
- Maven
- Affected
- >= 8.4.0, < 8.11.1
- Fixed in
- 8.11.1
- Check
mvn dependency:tree -Dincludes=org.elasticsearch:elasticsearch
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An uncaught exception in Elasticsearch >= 8.4.0 and < 8.11.1 occurs when an encrypted PDF is passed to an attachment processor through the REST API. The Elasticsearch ingest node that attempts to parse the PDF file will crash. This does not happen with password-protected PDF files or with unencrypted PDF files.
Credited to AnonySE26.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23449
- https://discuss.elastic.co/t/elasticsearch-8-11-1-security-update-esa-2024-05/356458
- https://github.com/elastic/elasticsearch/commit/a59180459a3cb30b71399d778943cab4ac2191c4
- https://github.com/elastic/elasticsearch/commit/f9bf18a716613473fc1cb96c838874e1f9f6ba22
- https://github.com/advisories/GHSA-pw39-f3m5-cxfc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-52979
Elasticsearch Uncontrolled Resource Consumption Vulnerability
medium6.5May 1, 2025CVE-2024-52981
Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
medium4.9Apr 8, 2025CVE-2024-43709
Elasticsearch allocation of resources without limits or throttling leads to crash
medium6.5Jan 21, 2025CVE-2024-12539
Elasticsearch Incorrect Authorization vulnerability
medium6.0Dec 17, 2024CVE-2024-23444
Elasticsearch stores private key on disk unencrypted
medium4.9Jul 31, 2024CVE-2023-49921
Elasticsearch Insertion of Sensitive Information into Log File
medium5.2Jul 26, 2024
