GHSA-hj4r-2c9c-29h3

Suggest an improvement
Source
https://github.com/advisories/GHSA-hj4r-2c9c-29h3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-hj4r-2c9c-29h3/GHSA-hj4r-2c9c-29h3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hj4r-2c9c-29h3
Aliases
Related
Published
2023-12-12T21:31:12Z
Modified
2024-06-25T14:06:38Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Elastic Beats inserts sensitive information into log file
Details

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.

Database specific
{
    "nvd_published_at": "2023-12-12T19:15:08Z",
    "cwe_ids": [
        "CWE-532"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-19T21:11:31Z"
}
References

Affected packages

Go / github.com/elastic/beats/v7

Package

Name
github.com/elastic/beats/v7
View open source insights on deps.dev
Purl
pkg:golang/github.com/elastic/beats/v7

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.17.16

Go / github.com/elastic/beats

Package

Name
github.com/elastic/beats
View open source insights on deps.dev
Purl
pkg:golang/github.com/elastic/beats

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.11.3

Go / github.com/elastic/beats

Package

Name
github.com/elastic/beats
View open source insights on deps.dev
Purl
pkg:golang/github.com/elastic/beats

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.17.16