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.
Affected Software
Related
{"id": "CVE-2022-3474", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "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.", "published": "2022-10-26T19:15:00", "modified": "2022-10-28T18:19:00", "epss": [{"cve": "CVE-2022-3474", "epss": 0.00045, "percentile": 0.11954, "modified": "2023-06-03"}], "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:P/I:N/A:N"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 4.0}, "severity": "MEDIUM", "exploitabilityScore": 8.0, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 4.3, "baseSeverity": "MEDIUM"}, "exploitabilityScore": 2.8, "impactScore": 1.4}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-3474", "reporter": "security@google.com", "references": ["https://github.com/bazelbuild/bazel/security/advisories/GHSA-mxr8-q875-rhwq"], "cvelist": ["CVE-2022-3474"], "immutableFields": [], "lastseen": "2023-06-03T14:48:16", "viewCount": 24, "enchantments": {"twitter": {"counter": 4, "tweets": [{"link": "https://twitter.com/CVEnew/status/1585356895392497665", "text": "CVE-2022-3474 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 e... https://t.co/ADFnlP7kXd", "author": "CVEnew", "author_photo": "https://pbs.twimg.com/profile_images/1447927972393111557/PQRMlVvZ_400x400.jpg"}, {"link": "https://twitter.com/www_sesin_at/status/1586111957114970113", "text": "New post from https://t.co/9KYxtdZjkl (CVE-2022-3474 (bazel)) has been published on https://t.co/HebjSkP4zK", "author": "www_sesin_at", "author_photo": "https://pbs.twimg.com/profile_images/958100963822329858/fb_N8h5n_400x400.jpg"}, {"link": "https://twitter.com/WolfgangSesin/status/1586111955093307392", "text": "New post from https://t.co/uXvPWJy6tj (CVE-2022-3474 (bazel)) has been published on https://t.co/kMgIEoigCY", "author": "WolfgangSesin", "author_photo": "https://pbs.twimg.com/profile_images/957011635369054208/Om3jbj7z_400x400.jpg"}]}, "score": {"value": 3.7, "vector": "NONE"}, "affected_software": {"major_version": [{"name": "google bazel", "version": 5}, {"name": "google bazel", "version": 4}]}, "epss": [{"cve": "CVE-2022-3474", "epss": 0.00045, "percentile": 0.11932, "modified": "2023-05-02"}], "vulnersScore": 3.7}, "_state": {"dependencies": 1685835658, "twitter": 0, "score": 1685803694, "affected_software_major_version": 0, "epss": 0}, "_internal": {"score_hash": "28008e17b7e6bc943674bd688f6a44b8"}, "cna_cvss": {"cna": "Google Inc.", "cvss": {"3": {"vector": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "score": 3.5}}}, "cpe": [], "cpe23": [], "cwe": ["CWE-522"], "affectedSoftware": [{"cpeName": "google:bazel", "version": "5.3.2", "operator": "lt", "name": "google bazel"}, {"cpeName": "google:bazel", "version": "4.2.3", "operator": "lt", "name": "google bazel"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:google:bazel:5.3.2:*:*:*:*:visual_studio:*:*", "versionStartIncluding": "5.0.0", "versionEndExcluding": "5.3.2", "cpe_name": []}, {"vulnerable": true, "cpe23Uri": "cpe:2.3:a:google:bazel:4.2.3:*:*:*:*:visual_studio:*:*", "versionStartIncluding": "3.1.0", "versionEndExcluding": "4.2.3", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://github.com/bazelbuild/bazel/security/advisories/GHSA-mxr8-q875-rhwq", "name": "https://github.com/bazelbuild/bazel/security/advisories/GHSA-mxr8-q875-rhwq", "refsource": "CONFIRM", "tags": ["Third Party Advisory"]}], "product_info": [{"vendor": "Google LLC", "product": "Bazel"}], "solutions": [], "workarounds": [], "impacts": [], "problemTypes": [{"descriptions": [{"type": "CWE", "lang": "en", "description": "CWE-522 Insufficiently Protected Credentials", "cweId": "CWE-522"}]}], "exploits": [], "assigned": "1976-01-01T00:00:00"}
{"prion": [{"lastseen": "2023-08-15T18:09:14", "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.", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "LOW", "baseScore": 4.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 1.4}, "published": "2022-10-26T19:15:00", "type": "prion", "title": "Bazel leaks user credentials through the remote assets API", "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "NONE", "integrityImpact": "NONE", "baseScore": 4.0, "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2022-3474"], "modified": "2022-10-28T18:19:00", "id": "PRION:CVE-2022-3474", "href": "https://kb.prio-n.com/vulnerability/CVE-2022-3474", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:P/I:N/A:N"}}], "photon": [{"lastseen": "2023-06-06T23:14:34", "description": "Updates of ['bazel'] packages of Photon OS have been released.\n", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "LOW", "baseScore": 4.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 1.4}, "published": "2023-05-22T00:00:00", "type": "photon", "title": "Moderate Photon OS Security Update - PHSA-2023-4.0-0396", "bulletinFamily": "unix", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "NONE", "integrityImpact": "NONE", "baseScore": 4.0, "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2022-3474"], "modified": "2023-05-22T00:00:00", "id": "PHSA-2023-4.0-0396", "href": "https://github.com/vmware/photon/wiki/Security-Update-4.0-396", "cvss": {"score": 4.0, "vector": "AV:N/AC:L/Au:S/C:P/I:N/A:N"}}, {"lastseen": "2023-09-28T10:41:27", "description": "Updates of ['bazel', 'consul', 'vim'] packages of Photon OS have been released.\n", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 3.6}, "published": "2023-05-26T00:00:00", "type": "photon", "title": "Important Photon OS Security Update - PHSA-2023-3.0-0587", "bulletinFamily": "unix", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "NONE", "baseScore": 5.5, "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 4.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-41803", "CVE-2022-29153", "CVE-2022-3474", "CVE-2022-40716", "CVE-2023-2609"], "modified": "2023-05-26T00:00:00", "id": "PHSA-2023-3.0-0587", "href": "https://github.com/vmware/photon/wiki/Security-Update-3.0-587", "cvss": {"score": 5.5, "vector": "AV:N/AC:L/Au:S/C:P/I:N/A:P"}}]}