Live threats

All CVEs / Linuxfoundation

CVE-2022-31667Linuxfoundation Harbor

Medium 6.4

Priority
38
CVSS 3.1
6.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 39
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:L/A:L

What happens

Harbor fails to validate the user permissions when updating a robot account that belongs to a project that the authenticated user doesn’t have access to.  By sending a request that attempts to update a robot account, and specifying a robot account id and robot account name that belongs to a different project that the user doesn’t have access to, it was possible to revoke the robot account permissions.

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 ≥ 1.0.0 < 1.10.13 1.10.13 go get github.com/goharbor/harbor@v1.10.13
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

Per OSV / GitHub Advisories (GHSA-xx9w-464f-7h6f). 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.