Vulnerability · Published Nov 14, 2024 · Assigned by vmware

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

High 7.4

In plain English

A high-severity security flaw in Harbor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.5%top 55.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/goharbor/harbor1.10.13GHSA-q76q-q8hw-hmpw
Gogithub.com/goharbor/harbor2.4.3GHSA-q76q-q8hw-hmpw
Gogithub.com/goharbor/harbor2.5.2GHSA-q76q-q8hw-hmpw

Affected products (as reported)

VendorProductVersions
n/a Harbor Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1

Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

References