Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 878501 (CVE-2022-3474)

Summary: dev-util/bazel: credential disclosure to external server
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: CONFIRMED ---    
Severity: minor CC: perfinion
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/bazelbuild/bazel/security/advisories/GHSA-mxr8-q875-rhwq
Whiteboard: B4 [ebuild]
Package list:
Runtime testing required: ---

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-10-28 02:38:27 UTC
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.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-15 17:21:32 UTC
Ah, fixes are indeed in 4.2.3, 5.3.2, 5.4.0: https://github.com/bazelbuild/bazel/pull/16450. Needs bumps.