Skip to content
OpenAdvisories
High · 7.4 CVE-2022-31671 BIT-harbor-2022-31671EUVD-2022-6909GHSA-q76q-q8hw-hmpw

Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs

Published Nov 14, 2024 · Updated Nov 14, 2024 · Assigned by vmware

Description

Harbor fails to validate user permissions when reading and updating job execution logs through the P2P preheat execution logs. By sending a request that attempts to read/update P2P preheat execution logs and specifying different job IDs, malicious authenticated users could read all the job logs stored in the Harbor database.

Affected products

VendorProductAffectedFixed
— Harbor Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/goharbor/harbor >= 1.0.0, < 1.10.13 1.10.13 GHSA-q76q-q8hw-hmpw
Go github.com/goharbor/harbor >= 2.0.0, < 2.4.3 2.4.3 GHSA-q76q-q8hw-hmpw
Go github.com/goharbor/harbor >= 2.5.0, < 2.5.2 2.5.2 GHSA-q76q-q8hw-hmpw

References