High severity7.4NVD Advisory· Published Nov 14, 2024· Updated Jun 17, 2026
CVE-2022-31668
CVE-2022-31668
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/goharbor/harborGo | >= 2.0.0, < 2.4.3 | 2.4.3 |
github.com/goharbor/harborGo | >= 2.5.0, < 2.5.2 | 2.5.2 |
github.com/goharbor/harbor/srcGo | < 0.0.0-20220630175814-b4ef1db | 0.0.0-20220630175814-b4ef1db |
Affected products
6- osv-coords4 versionspkg:bitnami/harborpkg:golang/github.com/goharbor/harborpkg:golang/github.com/goharbor/harbor/srcpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
>= 2.0.0, < 2.4.3+ 3 more
- (no CPE)range: >= 2.0.0, < 2.4.3
- (no CPE)range: >= 2.0.0, < 2.4.3
- (no CPE)range: < 0.0.0-20220630175814-b4ef1db
- (no CPE)range: < 0.0.20241213T205935-1.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-r864-28pw-8682ghsaADVISORY
- github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-31668ghsaADVISORY
- pkg.go.dev/vuln/GO-2024-3268ghsaWEB
News mentions
0No linked articles in our index yet.