{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-31671","id":"CVE-2022-31671","title":"Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs","description":"Harbor fails to validate user permissions when reading and updating job execution logs through the P2P preheat execution logs. By sending a request that attempts to read/update P2P preheat execution logs and specifying different job IDs, malicious authenticated users could read all the job logs stored in the Harbor database.","descriptionLong":"Harbor fails to validate user permissions when reading and updating job execution logs through the P2P preheat execution logs. By sending a request that attempts to read/update P2P preheat execution logs and specifying different job IDs, malicious authenticated users could read all the job logs stored in the Harbor database.","published":"2024-11-14T11:42:22.373Z","updated":"2026-10-28T02:30:51.704654335Z","reserved":"2022-05-25T23:31:47.419Z","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.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","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":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","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":[">=1.0.0 <1.10.13",">=2.0.0 <2.4.3",">=2.5.0 <2.5.2"],"fixed":["1.10.13","2.4.3","2.5.2"],"advisory":"GHSA-q76q-q8hw-hmpw"}],"cwes":["CWE-285","CWE-863"],"aliases":["BIT-harbor-2022-31671","GHSA-q76q-q8hw-hmpw"],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw","tags":["Vendor Advisory","advisory","web"]},{"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-31671.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31671","tags":["advisory"]},{"url":"https://github.com/goharbor/harbor","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0053,"epssPercentile":0.45579,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-31671","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31671","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-31671","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q76q-q8hw-hmpw","ok":true,"note":"GHSA-q76q-q8hw-hmpw"},{"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-31671","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}