PT-2024-5382 · Apache · Apache Arrow Rust Object Store

Paul Hatcherian

+1

·

Published

2024-07-17

·

Updated

2024-08-01

·

CVE-2024-41178

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions Apache Arrow Rust Object Store versions 0.10.1 and earlier
Description The issue is related to the exposure of temporary credentials in logs when using AWS WebIdentityTokens with the object store crate. On certain error conditions, the logs may contain the OIDC token passed to AssumeRoleWithWebIdentity, allowing someone with access to the logs to impersonate that identity until the OIDC token expires. Typically, OIDC tokens are valid for up to an hour, although this will vary depending on the issuer.
Recommendations For Apache Arrow Rust Object Store version 0.10.1 and earlier, users are recommended to use a different AWS authentication mechanism, disable logging, or upgrade to version 0.10.2, which fixes this issue. As a temporary workaround, consider disabling the logging of errors that include the full URL with credentials to minimize the risk of exploitation. Restrict access to the logs to prevent unauthorized individuals from obtaining the OIDC token.

Fix

Insertion into Log File

Weakness Enumeration

Related Identifiers

BDU:2024-06016
CVE-2024-41178
GHSA-C2HF-VCMR-QJRF
RUSTSEC-2024-0358

Affected Products

Apache Arrow Rust Object Store