Vulnerability · Published Nov 14, 2024 · Assigned by vmware
CVE-2022-31668User permission validation failure and disclosure of P2P preheat execution logs
High 7.4
In plain English
A high-severity security flaw in Harbor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.3%top 76.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/goharbor/harbor | 2.4.3 | GHSA-r864-28pw-8682 |
| Go | github.com/goharbor/harbor | 2.5.2 | GHSA-r864-28pw-8682 |
| Go | github.com/goharbor/harbor | 2.4.3+incompatible, 2.5.2+incompatible | GO-2024-3268 |
| Go | github.com/goharbor/harbor/src | 0.0.0-20220630175814-b4ef1db | GHSA-r864-28pw-8682 |
Affected products (as reported)
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L