Skip to content

CVE-2022-31668 User permission validation failure and disclosure of P2P preheat execution logs

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

Description

Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
goharbor github.com/goharbor/harbor(Go) >= 2.0.0+incompatible, < 2.4.3+incompatible; >= 2.0.0, < 2.4.3; >= 2.5.0+incompatible, < 2.5.2+incompatible; >= 2.5.0, < 2.5.2 2.4.3, 2.4.3+incompatible, 2.5.2, 2.5.2+incompatible Fixed
goharbor github.com/goharbor/harbor/src(Go) < 0.0.0-20220630175814-b4ef1db 0.0.0-20220630175814-b4ef1db 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) >= 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/src(Go) < 0.0.0-20220630175814-b4ef1db 0.0.0-20220630175814-b4ef1db
goharbor github.com/goharbor/harbor(Go) >= 2.0.0+incompatible, < 2.4.3+incompatible 2.4.3+incompatible
goharbor github.com/goharbor/harbor(Go) >= 2.5.0+incompatible, < 2.5.2+incompatible 2.5.2+incompatible
linuxfoundation harbor >= 2.0.0, < 2.4.3 2.4.3
linuxfoundation harbor >= 2.5.0, < 2.5.2 2.5.2

References