CVE-2024-41178

Apache Arrow Rust Object Store: AWS WebIdentityToken exposure in log files

Published Jul 23, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Exposure of temporary credentials in logs in Apache Arrow Rust Object Store (`object_store` crate), version 0.10.1 and earlier on all platforms using AWS WebIdentityTokens. 

On certain error conditions, the logs may contain the OIDC token passed to AssumeRoleWithWebIdentity https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html . This allows someone with access to the logs to impersonate that identity, including performing their own calls to AssumeRoleWithWebIdentity, until the OIDC token expires. Typically OIDC tokens are valid for up to an hour, although this will vary depending on the issuer.

Users are recommended to use a different AWS authentication mechanism, disable logging or upgrade to version 0.10.2, which fixes this issue.

Details:

When using AWS WebIdentityTokens with the object_store crate, in the event of a failure and automatic retry, the underlying reqwest error, including the full URL with the credentials, potentially in the parameters, is written to the logs. 

Thanks to Paul Hatcherian for reporting this vulnerability

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c2hf-vcmr-qjrf Apache Arrow Rust Object Store: AWS WebIdentityToken exposure in log files
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00173}

epss

{'score': 0.00362}

Type Values Removed Values Added
First Time appeared Apache
Apache arrow
CPEs cpe:2.3:a:apache:arrow:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache arrow
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:arrow:0.5.0:*:*:*:*:*:*:*
Vendors & Products Apache
Apache arrow
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 13, 2024, 8:31 PM
Reserved
Jul 17, 2024, 5:43 PM
Status
Analyzed
Published
Jul 23, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:47 AM