CVE-2022-31670
14.11.2024, 12:15
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 projectthat the currently authenticated user doesnt have access to, the attacker could modify tag retention policies configured in other projects.Enginsight
Vendor | Product | Version |
---|---|---|
linuxfoundation | harbor | 1.0.0 ≤ 𝑥 < 1.10.13 |
linuxfoundation | harbor | 2.0.0 ≤ 𝑥 < 2.4.3 |
linuxfoundation | harbor | 2.5.0 ≤ 𝑥 < 2.5.2 |
𝑥
= Vulnerable software versions
Common Weakness Enumeration
- CWE-285 - Improper AuthorizationThe software does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
- CWE-863 - Incorrect AuthorizationThe software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.