Security mailing lists by PureSourceCode

CVE-2022-31667

MEDIUM 6.4CVSS 3.1

Harbor fails to validate the user permissions when updating a robot account

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.

Published
14 Nov 2024
Last modified
17 Jun 2026
Assigned by
security@vmware.com
NVD status
Analyzed
Weakness
CWE-285CWE-863
Also known as
BIT-harbor-2022-31667GHSA-xx9w-464f-7h6f
Sources
NVDJSONOSV GHSA-xx9w-464f-7h6fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@vmware.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation harbor
cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.4.3 2.4.3
NVD linuxfoundation harbor
cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*
>= 2.5.0, < 2.5.2 2.5.2
OSV Go github.com/goharbor/harbor >= 1.0.0, < 1.10.13 1.10.13
OSV Go github.com/goharbor/harbor >= 2.0.0, < 2.4.3 2.4.3
OSV Go github.com/goharbor/harbor >= 2.5.0, < 2.5.2 2.5.2

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 14 Nov 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.