CVE-2022-31668
User permission validation failure and disclosure of P2P preheat execution logs
7.4
HIGH
CVSS 3.1
EPSS 0.06%
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.
How to fix CVE-2022-31668
To remediate CVE-2022-31668, upgrade the affected package to a fixed version below.
- —upgrade to 2.4.3 or later
- —upgrade to 2.4.3 or later
- —upgrade to 2.4.3+incompatible or later
- —upgrade to 0.0.0-20220630175814-b4ef1db or later
Is CVE-2022-31668 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- >= 2.0.0, < 2.4.3, >= 2.5.0, < 2.5.2
- >= 2.0.0, < 2.4.3
- >= 2.0.0+incompatible, < 2.4.3+incompatible, >= 2.5.0+incompatible, < 2.5.2+incompatible
- from 0, < 0.0.0-20220630175814-b4ef1db
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |