CVE-2022-31671

High

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.

SeverityHigh
CVSS7.4
Exploit probability—
ProductLinuxfoundation Harbor
PublishedNov 14, 2024
First seenNov 14, 2024
Weakness typeCWE-285CWE-285

How to fix

Update
  • linuxfoundation harbor2.4.3, 2.5.2 or later
  • github.com/goharbor/harbor1.10.13, 2.4.3, 2.5.2 or later

Affected products

ProductAffected versionsFixed in
linuxfoundation harbor2.0.0 ≤ v < 2.4.3, 2.5.0 ≤ v < 2.5.22.4.3, 2.5.2
github.com/goharbor/harborGo1.0.0 ≤ v < 1.10.13, 2.0.0 ≤ v < 2.4.3, 2.5.0 ≤ v < 2.5.21.10.13, 2.4.3, 2.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.