{"answers":{"affected":"3 open source packages ship an affected version, including object_store. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-41178 in the wild and no public exploit code.","fix":"Upgrade object_store to 0.10.2 or later.","what":"CVE-2024-41178 is a high-severity vulnerability in Apache Arrow Rust Object Store, published on 23 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-41178 and fix it if it is affected.\n\nWhat it is: CVE-2024-41178 is a high-severity vulnerability in Apache Arrow Rust Object Store, published on 23 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-41178 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- object_store (crates.io): affected from 0.5.0; fixed in 0.10.2\n- object_store (crates.io): affected from 0.5.0; fixed in 0.10.2\n- object_store (crates.io): affected from 0.5.0; fixed in 0.10.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-41178/ (Markdown: https://insights.sbomify.com/CVE-2024-41178/index.md)","id":"CVE-2024-41178","markdown":"https://insights.sbomify.com/CVE-2024-41178/index.md","name":"CVE-2024-41178","record":{"aliases":["GHSA-c2hf-vcmr-qjrf","RUSTSEC-2024-0358"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust object store library","requires_auth":"none","summary":"Attackers with log access can steal AWS WebIdentityTokens to impersonate identities and access cloud resources.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"arrow","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"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. \n\nOn 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.\n\nUsers are recommended to use a different AWS authentication mechanism, disable logging or upgrade to version 0.10.2, which fixes this issue.\n\nDetails:\n\nWhen 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. \n\nThanks to Paul Hatcherian for reporting this vulnerability","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Arrow Rust Object Store: AWS WebIdentityToken exposure in log files","id":"CVE-2024-41178","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Path traversal in Trend Micro VPN (consumer)","id":"CVE-2024-41183"},"packages":[{"ecosystem":"crates.io","fixed":["0.10.2"],"introduced":["0.5.0"],"last_affected":[],"package":"object_store","purl":null,"source":"GHSA-c2hf-vcmr-qjrf"},{"ecosystem":"crates.io","fixed":["0.10.2"],"introduced":["0.5.0"],"last_affected":[],"package":"object_store","purl":"pkg:cargo/object_store","source":"GHSA-c2hf-vcmr-qjrf"},{"ecosystem":"crates.io","fixed":["0.10.2"],"introduced":["0.5.0"],"last_affected":[],"package":"object_store","purl":"pkg:cargo/object_store","source":"RUSTSEC-2024-0358"}],"prev":{"headline":"Apache Zeppelin: XSS in the Helium module","id":"CVE-2024-41177"},"products":["Apache Arrow Rust Object Store"],"published":"2024-07-23","related":[{"cvss_score":9.8,"headline":"Apache Arrow R package: Arbitrary code execution when loading a malicious data file","id":"CVE-2024-52338","kev_date_added":null,"published":"2024-11-28"},{"cvss_score":7.5,"headline":"Missing Initialization of Resource in Apache Arrow","id":"CVE-2019-12408","kev_date_added":null,"published":"2019-11-08"},{"cvss_score":7.5,"headline":"Missing Initialization of Resource in Apache Arrow","id":"CVE-2019-12410","kev_date_added":null,"published":"2019-11-08"},{"cvss_score":7,"headline":"Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering","id":"CVE-2026-25087","kev_date_added":null,"published":"2026-02-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-13","vendors":["Apache Software Foundation"]},"summary":"Attackers with log access can steal AWS WebIdentityTokens to impersonate identities and access cloud resources.","url":"https://insights.sbomify.com/CVE-2024-41178/"}