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 equal to 5.3.2 or 4.2.3. This is Google's CVE. The CVE description says to upgrade to 4.2.3/5.3.2. The Github advisory (referenced by the CVE) says there's no fixed version. Not sure who to trust here.
Ah, fixes are indeed in 4.2.3, 5.3.2, 5.4.0: https://github.com/bazelbuild/bazel/pull/16450. Needs bumps.