Vulnerabilities

CVE-2022-31671

High 7.4 CVSS 3.1

Description

Harbor fails to validate user permissions when reading and updating 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.

Description as published by the source, in English.

Key facts

Published
2024-11-14
Last modified
2026-06-17
Assigned by
security@vmware.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.5 % higher than 41 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
github.com/goharbor harbor (Go) ≥ 1.0.0, < 1.10.13 Affected
github.com/goharbor harbor (Go) ≥ 2.0.0, < 2.4.3 Affected
github.com/goharbor harbor (Go) ≥ 2.5.0, < 2.5.2 Affected
Linuxfoundation Harbor ≥ 2.0.0, < 2.4.3 Affected
Linuxfoundation Harbor ≥ 2.5.0, < 2.5.2 Affected

Weakness type

  • CWE-863: Incorrect Authorization

    The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

  • CWE-285: Improper Authorization

    The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1005: Data from Local System collection
  • T1012: Query Registry discovery
  • T1083: File and Directory Discovery discovery
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1550.004: Web Session Cookie lateral-movement
  • T1552.002: Credentials in Registry credential-access
  • T1565.002: Transmitted Data Manipulation impact
  • T1574.005: Executable Installer File Permissions Weakness stealth, execution
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution
  • T1574.010: Services File Permissions Weakness stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities