Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-4rgc-5g6r-2rjf — lakefs

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-312 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

lakeFS logs S3 credentials in plain text

Impact

S3 credentials are logged in plain text

```

S3Creds:{Key:AKIAIOSFODNN7EXAMPLE Secret:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

```

appears as part of the log message:

```

time="2023-05-12T13:51:52Z" level=error msg="failed to perform diff" func="pkg/plugins/diff.(*Service).RunDiff" file="build/pkg/plugins/diff/service.go:124" error="rpc error: code = Canceled desc = stream terminated by RST_STREAM with error code: CANCEL" host="localhost:8000" method=GET operation_id=OtfDiff params="{TablePaths:{Left:{Ref:data_load@ Path:aggs/agg_variety/} Right:{Ref:data_load Path:aggs/agg_variety/} Base:{Ref: Path:}} S3Creds:{Key:AKIAIOSFODNN7EXAMPLE Secret:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY Endpoint:http://0.0.0.0:8000} Repo:example}" path="/api/v1/repositories/example/otf/refs/data_load%40/diff/data_load?table_path=aggs%2Fagg_variety%2F&type=delta" request_id=d3b6fdc7-2544-4c12-8e05-376f16e35a80 service_name=rest_api type=delta user=docker

```

Discovered when investigating [#5862](https://github.com/treeverse/lakeFS/issues/5862)

Patches

_Has the problem been patched? What versions should users upgrade to?_

No

Workarounds

_Is there a way for users to fix or remediate the vulnerability without upgrading?_

disable all logging?

References

_Are there any links users can visit to find out more?_

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

GHSA-4rgc-5g6r-2rjf is classified as CWE-312: Cleartext Storage of Sensitive Information. Sensitive values are written to storage unencrypted and readable by anyone with access to it.

Affected software

GHSA-4rgc-5g6r-2rjf is recorded against 1 package.

  • github.com/treeverse/lakefs

Timeline and source

Published on 12 December 2023 and last revised on 21 August 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-312
Public Exploit ✅ No
Source OSV
Published 2023-12-12
Updated 2026-08-20
Modified 2024-08-21
Fix URL N/A

Affected Packages

Software From version Fixed in
github.com/treeverse/lakefs

Similar Threats

Site Security Check

Is lakefs part of your stack?

GHSA-4rgc-5g6r-2rjf is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.