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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Harbor | Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/goharbor/harbor | >= 1.0.0, < 1.10.13 | 1.10.13 | GHSA-q76q-q8hw-hmpw |
| Go | github.com/goharbor/harbor | >= 2.0.0, < 2.4.3 | 2.4.3 | GHSA-q76q-q8hw-hmpw |
| Go | github.com/goharbor/harbor | >= 2.5.0, < 2.5.2 | 2.5.2 | GHSA-q76q-q8hw-hmpw |