CVE-2022-31668
highpriority · track · 31OT risk · elevatedEPSS 0.003 · 22 %ileEUUSEPSS · scored 2026-10-23
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
- Go github.com/goharbor/harbor2.0.0+incompatible → 2.4.3+incompatibleosvUSpkg:golang/github.com/goharbor/harbor
- Go github.com/goharbor/harbor2.5.0+incompatible → 2.5.2+incompatibleosvUSpkg:golang/github.com/goharbor/harbor
- Go github.com/goharbor/harbor/src< 0.0.0-20220630175814-b4ef1dbosvUSpkg:golang/github.com/goharbor/harbor/src
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-r864-28pw-8682Harbor fails to validate the user permissions when updating p2p preheat policies2024-11-14ghsa · osvUS
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.
- BIT-harbor-2022-31668User permission validation failure and disclosure of P2P preheat execution logs2024-11-20vendor · osvUS
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.
- GO-2024-3268Harbor fails to validate the user permissions when updating p2p preheat policies in github.com/goharbor/harbor2024-12-12vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202411-1878cnnvd
- EUVD-2024-3308enisa_euvd
- GHSA-r864-28pw-8682enisa_euvd
- BIT-harbor-2022-31668osv
- GHSA-3wpx-625q-22j7osv
- GHSA-r864-28pw-8682osv
- GO-2024-3268osv
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://github.com/goharbor/harbor/releases/tag/v2.5.3Patchcnnvd
- https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-31668cnnvd
- https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7enisa_euvd
- https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan