CVE-2022-31671
HIGH 7.4CVSS 3.1Harbor fails to validate the user permissions when reading job execution logs through the P2P preheat execution logs
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
- 14 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-285CWE-863
- Also known as
- BIT-harbor-2022-31671GHSA-q76q-q8hw-hmpw
- Sources
- NVDJSONOSV GHSA-q76q-q8hw-hmpwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.4.3 | 2.4.3 |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* |
>= 2.5.0, < 2.5.2 | 2.5.2 |
| OSV | Go | github.com/goharbor/harbor | >= 1.0.0, < 1.10.13 | 1.10.13 |
| OSV | Go | github.com/goharbor/harbor | >= 2.0.0, < 2.4.3 | 2.4.3 |
| OSV | Go | github.com/goharbor/harbor | >= 2.5.0, < 2.5.2 | 2.5.2 |
References
- https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7 · Vendor Advisory, WEB
- https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31671 · ADVISORY
- https://github.com/goharbor/harbor · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 14 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Sep 2022)