Insertion of Sensitive Information into Log File Affecting github.com/elastic/go-docappender/v2 package, versions <2.1.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMELASTICGODOCAPPENDERV2-7578233
  • published4 Aug 2024
  • disclosed3 Aug 2024
  • creditUnknown

Introduced: 3 Aug 2024

CVE-2024-37286  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade github.com/elastic/go-docappender/v2 to version 2.1.3 or higher.

Overview

github.com/elastic/go-docappender/v2 is a Go API for append-only Elasticsearch document indexing

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File by including the error reason for errors of the type unavailable_shards_exception in log files. This can expose requests containing sensitive values to unintended users.

CVSS Scores

version 4.0
version 3.1