{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-3474 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-3474 is a medium-severity vulnerability in Google LLC Bazel, published on 26 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3474 and fix it if it is affected.\n\nWhat it is: CVE-2022-3474 is a medium-severity vulnerability in Google LLC Bazel, published on 26 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-3474 in the wild and no public exploit code.\n\nAffected product: Google LLC Bazel. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2022-3474/ (Markdown: https://insights.sbomify.com/CVE-2022-3474/index.md)","id":"CVE-2022-3474","markdown":"https://insights.sbomify.com/CVE-2022-3474/index.md","name":"CVE-2022-3474","record":{"aliases":["AZL-11350","GHSA-mxr8-q875-rhwq"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Bazel build tool","requires_auth":"low_privilege","summary":"Bazel leaks all user-provided credentials instead of only required ones via the remote assets API, exposing sensitive authentication data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"bazel","vendor":"google"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"A bad credential handling in the remote assets API for Bazel versions prior to 5.3.2 and 4.2.3 sends all user-provided credentials instead of only the required ones for the requests. We recommend upgrading to versions later than or equal to 5.3.2 or 4.2.3.","ecosystems":[],"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":"Bazel leaks user credentials through the remote assets API","id":"CVE-2022-3474","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"tagDiv Composer \u003c 3.5 - Unauthenticated Account Takeover","id":"CVE-2022-3477"},"packages":[],"prev":{"headline":"SourceCodester Human Resource Management System getstatecity.php sql injection","id":"CVE-2022-3473"},"products":["Bazel"],"published":"2022-10-26","related":[{"cvss_score":8.2,"headline":"Code execution in VSCode-bazel via malicious Bazel config files","id":"CVE-2021-22539","kev_date_added":null,"published":"2021-04-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Google LLC"]},"summary":"Bazel leaks all user-provided credentials instead of only required ones via the remote assets API, exposing sensitive authentication data.","url":"https://insights.sbomify.com/CVE-2022-3474/"}