CVE-2022-3474

Source
https://cve.org/CVERecord?id=CVE-2022-3474
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3474.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-3474
Aliases
  • GHSA-mxr8-q875-rhwq
Downstream
Published
2022-10-26T00:00:00Z
Modified
2026-10-28T02:30:52Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Bazel leaks user credentials through the remote assets API
Details

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.

Database specific
{
    "cna_assigner":  "Google",
    "cwe_ids":  [
        "CWE-522"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3474.json"
}
References

Affected packages

Git / github.com/bazelbuild/bazel

Affected ranges

Type
GIT
Repo
https://github.com/bazelbuild/bazel
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "5.0.0"
                },
                {
                    "fixed":  "5.3.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "4.0.0"
                },
                {
                    "fixed":  "4.2.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "3.0.0"
                },
                {
                    "fixed":  "3.7.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

4.*
4.0.0
4.1.0
4.2.0
4.2.1
4.2.2
5.*
5.0.0
5.1.0
5.1.1
5.2.0
5.3.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3474.json"