lakeFS logs S3 credentials in plain text
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-312.
Summary
### 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?_
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/treeverse/lakefs (Go) | before 0.101.0 | 0.101.0 | Patch available | GHSA-4rgc-5g6r-2rjf |
- github.com/treeverse/lakefs (Go) Vendor— Affected before 0.101.0 Fixed in 0.101.0 Patch available GHSA-4rgc-5g6r-2rjf
Remediation
- Fix · GHSA-4rgc-5g6r-2rjf github.com/treeverse/lakefs (Go) Fixed in 0.101.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-4rgc-5g6r-2rjf
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences