{"id":"CVE-2022-31671","state":"PUBLISHED","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.","publishedAt":"2024-11-14T11:42:22.373Z","updatedAt":"2024-11-14T14:10:27.403Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","source":"vmware"},"assigner":"vmware","products":["n/a Harbor"],"affected":[{"vendor":"n/a","product":"Harbor","defaultStatus":"unaffected","versions":[{"version":"Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1","status":"affected"}]}],"references":["https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw","https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31671.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31671","state":"PUBLISHED","datePublished":"2024-11-14T11:42:22.373Z","dateUpdated":"2024-11-14T14:10:27.403Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2022-05-25T23:31:47.419Z"},"containers":{"cna":{"title":"Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"Harbor","defaultStatus":"unaffected","versions":[{"version":"Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1","status":"affected"}]}],"references":[{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw"},{"url":"https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","description":"CWE-285","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2024-11-14T11:42:22.373Z"},"datePublic":"2022-08-30T21:00:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-14T14:10:09.378741Z","id":"CVE-2022-31671","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-14T14:10:27.403Z"}}]}}}