High severity · published Nov 14, 2024
CVE-2022-31670
Harbor fails to validate the user permissions when updating tag retention policies
7.7
CVSS
0.5%
EPSS
No
On KEV
Description
Harbor fails to validate the user permissions when updating tag retention policies.
By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify
tag retention policies configured in other projects.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HA
Harbor ·
Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-31670
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-31670
Vendor Advisory
https://github.com/goharbor/harbor/security/advisories/GHSA-3637-v6vq-xqqw
More from Harbor
7.7
CVE-2022-31668
User permission validation failure and disclosure of P2P preheat execution logs
7.7
CVE-2022-31669
Harbor fails to validate the user permissions when updating tag immutability policies
7.4
CVE-2022-31671
Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs
6.4
CVE-2022-31667
Harbor fails to validate the user permissions when updating a robot account
5.4
CVE-2022-31666
Harbor fails to validate user permissions while Viewing, updating and deleting Webhook policies
