Incorrect Authorization
CVE-2022-31670
Summary
Harbor versions 1.0 through 1.10.12, 2.0 through 2.4.2 and 2.5 through 2.5.1 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.
- LOW
- NETWORK
- HIGH
- CHANGED
- NONE
- LOW
- NONE
- NONE
CWE-863 - Incorrect Authorization
Authorization is a security mechanism performed by an application to grant or deny access to the requested resources by verifying the privileges of the user. When an application lacks effective authorization mechanisms, it enables unauthorized users to gain unintended privileges and illegitimate access to resources. Such a vulnerability may result in exposure of sensitive information, denial of service, arbitrary code execution, and complete system takeover.
References
Advisory Timeline
- Published