CVE-2022-31671
Harbor vulnerability analysis and mitigation

Overview

Harbor, an open-source artifact registry by VMware, was found to contain a high-severity vulnerability (CVE-2022-31671) that fails to validate user permissions when reading and updating job execution logs through the P2P preheat execution logs. The vulnerability was discovered in 2022 and affects Harbor versions 2.0.0 through 2.4.2 and 2.5.0 through 2.5.1 (NVD, Harbor Advisory).

Technical details

The vulnerability is classified as an Incorrect Authorization issue (CWE-863) with a CVSS v3.1 base score of 7.4 (High). The attack vector is network-based, requires low attack complexity, and low privileges, with no user interaction needed. The vulnerability has a changed scope with low impact on confidentiality, integrity, and availability (NVD).

Impact

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 represents a significant security breach in terms of unauthorized access to potentially sensitive information (Harbor Advisory).

Mitigation and workarounds

The vulnerability has been patched in Harbor versions 2.4.3+ and 2.5.2+. Organizations are strongly advised to upgrade to these or later versions as soon as possible. No workarounds are available for this vulnerability (Harbor Advisory).

Community reactions

The vulnerability was discovered by security researchers Gal Goldstein and Daniel Abeles from Oxeye Security. It was part of a series of high-severity IDOR vulnerabilities found in the CNCF-graduated project Harbor (Help Net Security).

Additional resources


SourceThis report was generated using AI

Related Harbor vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2022-31670HIGH7.7
  • HarborHarbor
  • cpe:2.3:a:linuxfoundation:harbor
NoYesNov 14, 2024
CVE-2022-31669HIGH7.7
  • HarborHarbor
  • harbor
NoYesNov 14, 2024
CVE-2022-31671HIGH7.4
  • HarborHarbor
  • cpe:2.3:a:linuxfoundation:harbor
NoYesNov 14, 2024
CVE-2025-30086MEDIUM4.9
  • HarborHarbor
  • github.com/goharbor/harbor
NoYesJul 25, 2025
CVE-2025-32019MEDIUM4.1
  • HarborHarbor
  • cpe:2.3:a:linuxfoundation:harbor
NoYesJul 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management