{"id":"CVE-2022-3474","aliases":["AZL-11350","EUVD-2022-42846","GHSA-mxr8-q875-rhwq"],"status":"published","title":"Bazel leaks user credentials through the remote assets API","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.","severity":{"version":"4.0","score":5.1,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00402,"percentile":0.34756,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-522"],"published":"2022-10-26T00:00:00Z","modified":"2026-10-28T02:30:52Z","fixes":[{"ecosystem":"Azure Linux:2","package":"bazel","fixed_in":["5.3.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"bazel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.2-1"}]}]}],"products":[{"vendor":"google","product":"bazel"},{"vendor":"google llc","product":"bazel"}],"references":[{"url":"https://github.com/bazelbuild/bazel/security/advisories/GHSA-mxr8-q875-rhwq","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3474","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3474.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-3474","title":"Bazel leaks user credentials through the remote assets API","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.","status":"published","published":"2022-10-26T00:00:00Z","modified":"2024-08-03T01:14:01.488Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-522"],"updated_at":"2026-11-02T14:34:33.24035Z"}],"euvd":[{"id":"EUVD-2022-42846","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.","status":"published","published":"2022-10-26T00:00:00Z","modified":"2024-08-03T01:14:01Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"}],"updated_at":"2026-11-03T03:25:56.994006Z"}],"nvd":[{"id":"CVE-2022-3474","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.","status":"published","published":"2022-10-26T19:15:16.8Z","modified":"2026-06-17T04:59:35.9Z","cvss":[{"version":"4.0","score":5.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-522"],"updated_at":"2026-11-02T14:07:31.127985Z"}],"osv":[{"id":"AZL-11350","title":"CVE-2022-3474 affecting package bazel for versions less than 5.3.2-1","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.","status":"published","published":"2022-10-26T19:15:16Z","modified":"2026-04-21T04:22:01.231813Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:28:02.666535Z"},{"id":"CVE-2022-3474","title":"Bazel leaks user credentials through the remote assets API","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.","status":"published","published":"2022-10-26T00:00:00Z","modified":"2026-10-28T02:30:52.773512387Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"}],"cwes":["CWE-522"],"updated_at":"2026-11-02T15:44:25.860945Z"}]}}
