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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (20th 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 ID SNYK-GOLANG-GITHUBCOMELASTICGODOCAPPENDER-7578232
  • published 4 Aug 2024
  • disclosed 3 Aug 2024
  • credit Unknown

How to fix?

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

Overview

github.com/elastic/go-docappender 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
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Adjacent
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None