Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-99pc-69q9-jxf2

Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs
Back to all
CVE

GHSA-99pc-69q9-jxf2

Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs

Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs. Note that audit logging is disabled by default and needs to be explicitly enabled and even when audit logging is enabled, request bodies that could contain sensitive information are not printed to the audit log unless explicitly configured.

The _xpack/security APIs have been deprecated in Elasticsearch 7.x and were entirely removed in 8.0.0 and later. The only way for a client to use them in Elasticsearch 8.0.0 and later is to provide the Accept: application/json; compatible-with=7 header. Elasticsearch official clients do not use these deprecated APIs.

The list of affected, deprecated APIs, is the following:

POST /_xpack/security/user/{username}

PUT /_xpack/security/user/{username}

PUT /xpack/security/user/{username}/password

POST /xpack/security/user/{username}/password

PUT /xpack/security/user/password

POST /xpack/security/user/password

POST /_xpack/security/oauth2/token

DELETE /_xpack/security/oauth2/token

POST /_xpack/security/saml/authenticate

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
-
C
H
U
-

Related Resources

No items found.

References

Severity

4.1

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
4.1
EPSS Probability
0.00052%
EPSS Percentile
0.1647%
Introduced Version
7.16.0
Fix Available
7.17.13

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading