CVE-2022-31671
highpriority · track · 30OT risk · elevatedEPSS 0.005 · 45 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.4
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-q76q-q8hw-hmpwHarbor fails to validate the user permissions when reading job execution logs through the P2P preheat execution logs2022-09-09ghsa · osvUS
### Impact Harbor fails to validate the user permissions when reading job execution logs through the P2P preheat execution logs - API call GET /projects/{project_name}/preheat/policies/{preheat_policy_name}/executions/{execution_id}/tasks/{task_id}/logs By sending a request that attempts to read P2P preheat execution logs and specifying different job ids, malicious authenticatedusers could read all the job logs stored in the Harbor database. ### Patches This and similar issues are fixed in Harbor v2.5.2 and later. Please upgrade as soon as possible. ### Workarounds There are no workarounds available. ### For more information If you have any questions or comments about this advisory: * Open an issue in [the Harbor GitHub repository](https://github.com/goharbor/harbor) ### Credits Thanks to [Gal Goldstein](https://www.linkedin.com/in/gal-goldshtein/) and [Daniel Abeles](https://www.linkedin.com/in/daniel-abeles/) from [Oxeye Security](https://www.oxeye.io/) for reporting this issue.
- BIT-harbor-2022-31671Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs2024-11-20vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/goharbor/harbor/releases/tag/v2.5.3Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-31671cnnvd
- https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7enisa_euvd
- https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpwenisa_euvd
- https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7Vendor Advisorynvd
- https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpwVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan