CVE-2024-41178
HIGH 7.5CVSS 3.1Apache Arrow Rust Object Store: AWS WebIdentityToken exposure in log files
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
- Published
- 23 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-532
- Also known as
- GHSA-c2hf-vcmr-qjrfRUSTSEC-2024-0358
- Sources
- NVDJSONOSV GHSA-c2hf-vcmr-qjrfJSONOSV RUSTSEC-2024-0358JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| OSV | RustSec | CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | arrowcpe:2.3:a:apache:arrow:*:*:*:*:*:*:*:* |
>= 0.5.0, <= 0.10.1 | |
| OSV | crates.io | object_store | >= 0.5.0, < 0.10.2 | 0.10.2 |
References
- http://www.openwall.com/lists/oss-security/2024/07/23/3 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/3t0povdppnt2czv6crlsqhvyko93kcrg · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-41178 · ADVISORY
- https://github.com/apache/arrow-rs/pull/6074 · WEB
- https://github.com/apache/arrow-rs/commit/4978e32654235f569062f2cad6c7361e410f1254 · WEB
- https://github.com/apache/arrow-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0358.html · WEB, ADVISORY
- https://crates.io/crates/object_store · PACKAGE
- https://www.openwall.com/lists/oss-security/2024/07/23/3 · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 23 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jul 2024)