CVE-2022-31668GHSA-R864-28PW-8682BIT-HARBOR-2022-31668GHSA-3WPX-625Q-22J7GO-2024-3268
User permission validation failure and disclosure of P2P preheat execution logs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.4.3, 2.5.2, 0.0.0-20220630175814-b4ef1db, 2.4.3+incompatible, 2.5.2+incompatible
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- n/a Harbor
Version range not reported
- github.com/goharbor/harborGo
From 2.0.0 · fixed in 2.4.3
- github.com/goharbor/harborGo
From 2.5.0 · fixed in 2.5.2
- github.com/goharbor/harbor/srcGo
fixed in 0.0.0-20220630175814-b4ef1db
- github.com/goharbor/harborGo
From 2.0.0+incompatible · fixed in 2.4.3+incompatible; From 2.5.0+incompatible · fixed in 2.5.2+incompatible