Skip to content

CVE-2022-31671 Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs

HighCVSS 7.4 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
goharbor github.com/goharbor/harbor(Go) >= 1.0.0, < 1.10.13; >= 1.0.0, <= 1.10.12; >= 2.0.0, < 2.4.3; >= 2.0.0, <= 2.4.2 +2 more 1.10.13, 2.4.3, 2.5.2 Fixed
linuxfoundation harbor >= 2.0.0, < 2.4.3; >= 2.5.0, < 2.5.2 2.4.3, 2.5.2 Fixed

Affected products

ProductAffected versionsFixed in
goharbor github.com/goharbor/harbor(Go) >= 1.0.0, < 1.10.13 1.10.13
goharbor github.com/goharbor/harbor(Go) >= 2.0.0, < 2.4.3 2.4.3
goharbor github.com/goharbor/harbor(Go) >= 2.5.0, < 2.5.2 2.5.2
goharbor github.com/goharbor/harbor(Go) >= 1.0.0, <= 1.10.12 No fix listed
goharbor github.com/goharbor/harbor(Go) >= 2.0.0, <= 2.4.2 No fix listed
goharbor github.com/goharbor/harbor(Go) >= 2.5.0, <= 2.5.1 No fix listed
linuxfoundation harbor >= 2.0.0, < 2.4.3 2.4.3
linuxfoundation harbor >= 2.5.0, < 2.5.2 2.5.2

References