{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31668","published":"2024-11-14T12:15:16.607000Z","last_modified":"2026-06-17T04:46:00.753000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-285","CWE-863"],"cpes":[{"criteria":"cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*","part":"a","vendor":"linuxfoundation","product":"harbor","version_start_including":"2.0.0","version_end_excluding":"2.4.3"},{"criteria":"cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*","part":"a","vendor":"linuxfoundation","product":"harbor","version_start_including":"2.5.0","version_end_excluding":"2.5.2"}],"cpes_truncated":false,"vendors":["linuxfoundation"],"products":["linuxfoundation/harbor"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00444,"percentile":0.30487,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r864-28pw-8682","ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"introduced":"2.0.0","fixed":"2.4.3"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-r864-28pw-8682","ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"introduced":"2.5.0","fixed":"2.5.2"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-3268","ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"introduced":"2.0.0+incompatible","fixed":"2.4.3+incompatible"},{"introduced":"2.5.0+incompatible","fixed":"2.5.2+incompatible"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-r864-28pw-8682","ecosystem":"Go","name":"github.com/goharbor/harbor/src","purl":"pkg:golang/github.com/goharbor/harbor/src","ranges":[{"introduced":"0","fixed":"0.0.0-20220630175814-b4ef1db"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":46,"links":{"html_es":"/es/cve/CVE-2022-31668/","html_en":"/en/cve/CVE-2022-31668/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31668","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31668"},"untrusted":{"vendor_name":"Linuxfoundation","product_name":"Harbor","desc_en":"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":[],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7","tags":["Vendor Advisory"]}]}}