Live threats

All CVEs / Linuxfoundation

CVE-2022-31668Linuxfoundation Harbor

High 7.7

Priority
46
CVSS 3.1
7.7
EPSS
0.4%
probability of exploitation in 30 days · percentile 30
Auth required
Yes
Published
Nov 14, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-285, CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

What happens

Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.

Original NVD text.

What to do

  1. Apply the vendor's security update for Harbor.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/goharbor/harbor ≥ 2.0.0 < 2.4.3 2.4.3 go get github.com/goharbor/harbor@v2.4.3
Go github.com/goharbor/harbor ≥ 2.5.0 < 2.5.2 2.5.2 go get github.com/goharbor/harbor@v2.5.2
Go github.com/goharbor/harbor ≥ 2.0.0+incompatible < 2.4.3+incompatible 2.4.3+incompatible go get github.com/goharbor/harbor@v2.4.3+incompatible
Go github.com/goharbor/harbor ≥ 2.5.0+incompatible < 2.5.2+incompatible 2.5.2+incompatible go get github.com/goharbor/harbor@v2.5.2+incompatible
Go github.com/goharbor/harbor/src < 0.0.0-20220630175814-b4ef1db 0.0.0-20220630175814-b4ef1db go get github.com/goharbor/harbor/src@v0.0.0-20220630175814-b4ef1db

Per OSV / GitHub Advisories (GHSA-r864-28pw-8682, GO-2024-3268). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationharbor≥ 2.0.0 < 2.4.3
linuxfoundationharbor≥ 2.5.0 < 2.5.2

Official sources

References

Links published by the sources. Open them with care.