Skip to main content

Incorrect Authorization

CVE-2022-31671

Severity High
Score 7.4/10

Summary

Harbor fails to validate the user permissions when reading job execution logs through the P2P preheat execution logs. By sending a request that attempts to read/update P2P preheat execution logs and specifying different job IDs, malicious authenticated users could read all the job logs stored in the Harbor database. This issue affects the package github.com/goharbor/harbor versions 1.0 through 1.10.12, 2.0 through 2.4.2, and 2.5 through 2.5.1.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • NONE
  • LOW
  • LOW
  • LOW

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.

Advisory Timeline

  • Published