CVE-2022-31671 json
Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs
published 2022-09-09 4 y ago modified 2026-09-08 2 mo ago also BIT-harbor-2022-31671 , EUVD-2022-6909 , GHSA-q76q-q8hw-hmpw
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/goharbor/harbor 1.10.13, 2.4.3, 2.5.2
- bitnami harbor 2.4.3, 2.5.2
- linuxfoundation harbor 2.4.3, 2.5.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| GitHub | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| NVD | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| OSV | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/goharbor/harbor | >=1.0.0, <1.10.13 >=2.0.0, <2.4.3 >=2.5.0, <2.5.2 |
1.10.13 2.4.3 2.5.2 |
| bitnami | harbor | >=2.0.0, <2.4.3 >=2.5.0, <2.5.2 |
2.4.3 2.5.2 |
Affected products
- n/a Harbor
Classification
References
-
github.com
/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw
web, vendor-advisory, advisory
-
github.com
/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31671
advisory, web
-
github.com
/goharbor/harbor
package
Sources
- CVE List CVE-2022-31671
- GitHub Advisory GHSA-q76q-q8hw-hmpw
- NVD CVE-2022-31671
- OSV BIT-harbor-2022-31671
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.