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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"
},
{
"last_affected": "Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"
}
],
"source": "AFFECTED_FIELD"
}
],
"cwe_ids": [
"CWE-285"
],
"cna_assigner": "vmware",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31671.json"
}