Security mailing lists by PureSourceCode

CVE-2022-31668

HIGH 7.7CVSS 3.1

Harbor fails to validate the user permissions when updating p2p preheat policies

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.

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-31668GHSA-3wpx-625q-22j7GHSA-r864-28pw-8682GO-2024-3268
Sources
NVDJSONOSV GHSA-r864-28pw-8682JSONOSV GO-2024-3268JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
NVD security@vmware.com (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/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 >= 2.0.0, < 2.4.3 2.4.3
OSV Go github.com/goharbor/harbor >= 2.5.0, < 2.5.2 2.5.2
OSV Go github.com/goharbor/harbor/src < 0.0.0-20220630175814-b4ef1db 0.0.0-20220630175814-b4ef1db
OSV Go github.com/goharbor/harbor >= 2.0.0+incompatible, < 2.4.3+incompatible; >= 2.5.0+incompatible, < 2.5.2+incompatible 2.4.3+incompatible, 2.5.2+incompatible

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 12 Dec 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Nov 2024)
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.