Metricbeat affected by multiple denial of service vulnerabilitiesGHSA-w2gr-585j-r428
MEDIUMFix: elastic/beats@0025fbfGHSA-w2gr-585j-r428 is a medium-severity (CVSS 6.5) CWE-129 vulnerability in github.com/elastic/beats/v7. A fix is available for github.com/elastic/beats/v7 — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-w2gr-585j-r428.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/elastic/beats/v7🐹github.com/elastic/beats/v7🐹github.com/elastic/beats/v7🐹github.com/elastic/beats/v7Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Improper Validation of Array Index (CWE-129) exists in Metricbeat can allow an attacker to cause a Denial of Service through Input Data Manipulation (CAPEC-153) via specially crafted, malformed payloads sent to the Graphite server metricset or Zookeeper server metricset. Additionally, Improper Input Validation (CWE-20) exists in the Prometheus helper module that can allow an attacker to cause a Denial of Service through Input Data Manipulation (CAPEC-153) via specially crafted, malformed metric data.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/elastic/beats/v7 | all versions | 7.0.0-alpha2.0.20251217054608-6e42552a23cego get github.com/elastic/beats/v7@v7.0.0-alpha2.0.20251217054608-6e42552a23ce |
| 🐹Go | github.com/elastic/beats/v7 | ≥ 8.0.0&&< 8.19.10 | 8.19.10go get github.com/elastic/beats/v7@v8.19.10 |
| 🐹Go | github.com/elastic/beats/v7 | ≥ 9.0.0&&< 9.1.10 | 9.1.10go get github.com/elastic/beats/v7@v9.1.10 |
| 🐹Go | github.com/elastic/beats/v7 | ≥ 9.2.0&&< 9.2.4 | 9.2.4go get github.com/elastic/beats/v7@v9.2.4 |
Affected Products
kibanaelasticDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/elastic/beats/v7, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/elastic/beats/v7 to 7.0.0-alpha2.0.20251217054608-6e42552a23ce or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-w2gr-585j-r428 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-w2gr-585j-r428 in your dependencies?
Find it across Go, including transitive dependencies.