GHSA-4q22-422g-m4pj

Suggest an improvement
Source
https://github.com/advisories/GHSA-4q22-422g-m4pj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-4q22-422g-m4pj/GHSA-4q22-422g-m4pj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4q22-422g-m4pj
Aliases
Downstream
CGA (2)
Published
2024-06-13T18:31:58Z
Modified
2026-09-10T03:50:14Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Elasticsearch StackOverflow vulnerability
Details

A flaw was discovered in Elasticsearch, affecting document ingestion when an index template contains a dynamic field mapping of “passthrough” type. Under certain circumstances, ingesting documents in this index would cause a StackOverflow exception to be thrown and ultimately lead to a Denial of Service. Note that passthrough fields is an experimental feature.

Database specific
{
    "cwe_ids":  [
        "CWE-122",
        "CWE-787"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2024-06-13T22:03:51Z",
    "nvd_published_at":  "2024-06-13T17:15:50Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven / org.elasticsearch:elasticsearch

Package

Name
org.elasticsearch:elasticsearch
View open source insights on deps.dev
Purl
pkg:maven/org.elasticsearch/elasticsearch

Affected ranges

Type
ECOSYSTEM
Events
Introduced
8.13.1
Fixed
8.14.0

Affected versions

8.*
8.13.1
8.13.2
8.13.3
8.13.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-4q22-422g-m4pj/GHSA-4q22-422g-m4pj.json"