{"id":"CVE-2022-31668","published":"2024-11-14T11:56:31Z","modified":"2024-11-14T19:33:24Z","title":"User permission validation failure and disclosure of P2P preheat execution logs","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00444,"percentile":0.3048,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7","tags":[]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":6.1},{"name":"CVSS severity","points":5.18}]},"affectedVersions":[{"vendor":"n/a","product":"Harbor","versions":["Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-14T18:53:45.416941Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","vulnerableRanges":[">=2.0.0, <2.4.3",">=2.5.0, <2.5.2",">=2.0.0+incompatible, <2.4.3+incompatible",">=2.5.0+incompatible, <2.5.2+incompatible"],"patched":["2.4.3","2.5.2","2.4.3+incompatible","2.5.2+incompatible"],"from":["GHSA-r864-28pw-8682","GO-2024-3268"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/goharbor/harbor/src","vulnerableRanges":["<0.0.0-20220630175814-b4ef1db"],"patched":["0.0.0-20220630175814-b4ef1db"],"from":["GHSA-r864-28pw-8682"],"provenance":"source"}],"summary":{"text":"Harbor's P2P preheat policy update functionality fails to validate user permissions, so the flaw lies in how the product handles authorization for that component. An authenticated attacker with low privileges and network access can send an update request referencing a policy ID belonging to a project they cannot access, allowing them to modify P2P preheat policies configured in other projects without user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:27Z"},"euvd":{"id":"EUVD-2024-3308","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-com-goharbor-harbor-cve-2022-31668","children":[{"from":"CVE-2022-31668","to":"CVE-2022-31671","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-q76q-q8hw-hmpw","via":"reference","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7"},{"kind":"similar","provenance":"machine","score":0.65,"basis":"same package + description similarity"}]}]}}