{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-31668","id":"CVE-2022-31668","title":"User permission validation failure and disclosure of P2P preheat execution logs","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.","descriptionLong":"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.","published":"2024-11-14T11:56:31.043Z","updated":"2026-10-28T02:30:30.982855257Z","reserved":"2022-05-25T23:31:47.418Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"vmware"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"vmware"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"vmware.com"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["Harbor"],"affectedProducts":[{"vendor":"n/a","product":"Harbor","defaultStatus":"unaffected","versions":[{"status":"affected","version":"Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[">=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"],"fixed":["2.4.3","2.5.2","2.4.3+incompatible","2.5.2+incompatible"],"advisory":"GHSA-r864-28pw-8682"},{"ecosystem":"Go","name":"github.com/goharbor/harbor/src","purl":"pkg:golang/github.com/goharbor/harbor/src","ranges":["<0.0.0-20220630175814-b4ef1db"],"fixed":["0.0.0-20220630175814-b4ef1db"],"advisory":"GHSA-r864-28pw-8682"}],"cwes":["CWE-285","CWE-863"],"aliases":["BIT-harbor-2022-31668","GHSA-3wpx-625q-22j7","GHSA-r864-28pw-8682","GO-2024-3268"],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7","tags":["Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31668.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31668","tags":["advisory"]},{"url":"https://github.com/goharbor/harbor","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3268","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00304,"epssPercentile":0.23613,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-31668","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31668","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-31668","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r864-28pw-8682","ok":true,"note":"GHSA-r864-28pw-8682"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31668","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}