CVE-2023-49922 json
Beats Insertion of Sensitive Information into Log File
published 2y ago modified 2mo ago also GHSA-hj4r-2c9c-29h3 , GO-2023-2413 , EUVD-2023-3224
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
An issue was discovered by Elastic whereby Beats and Elastic Agent would log a raw event in its own logs at the WARN or ERROR level if ingesting that event to Elasticsearch failed with any 4xx HTTP status code except 409 or 429. Depending on the nature of the event that Beats or Elastic Agent attempted to ingest, this could lead to the insertion of sensitive or private information in the Beats or Elastic Agent logs. Elastic has released 8.11.3 and 7.17.16 that prevents this issue by limiting these types of logs to DEBUG level logging, which is disabled by default.
Patch / fix
- go github.com/elastic/beats/v7 7.17.16
- go github.com/elastic/beats 7.17.16, 8.11.3
- Elastic Beats 7.17.16, 8.11.3
Is CVE-2023-49922 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/elastic/beats/v7 | >=7.0.0, <7.17.16 <7.17.16 |
7.17.16 |
| go | github.com/elastic/beats | >=8.0.0, <8.11.3 >=7.0.0, <7.17.16 |
8.11.3 7.17.16 |
Affected products
- Elastic Beats
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/elastic/beats/commit/9bd7de84ab9c31bb4e1c0a348a7b7c26817a0996
web, patch
-
discuss.elastic.co
/t/beats-and-elastic-agent-8-11-3-7-17-16-security-update-esa-2023-30/349180
web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-49922
advisory
-
github.com
/elastic/beats
package
Sources
- CVE List CVE-2023-49922
- GitHub Advisory GHSA-hj4r-2c9c-29h3
- NVD CVE-2023-49922
- OSV GO-2023-2413
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.