CVE-2022-31668

Aliases:GHSA-r864-28pw-8682BIT-harbor-2022-31668GHSA-3wpx-625q-22j7GO-2024-3268
Advisory lineage Upstream: 0 Downstream: 1
Analyzed
Published: 14 Nov 2024, 11:56
Last modified:14 Nov 2024, 19:33

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.7 HIGH
v3.1 (nvd)
EPSS Score
0.06% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

14 Nov 2024, 11:56
Published
Vulnerability first disclosed
14 Nov 2024, 19:33
Last Modified
Vulnerability information updated

Description

Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.

CVSS Metrics

  • v3.1HIGHScore: 7.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
  • v3.1HIGHScore: 7.7CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

EPSS Trends

Current EPSS score: 0.06% Percentile: 17%

Techniques & Countermeasures

  • CWE-285Improper Authorization

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

  • CWE-863Incorrect 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.

Affected Systems

  • github.com/goharborharbor

    ≥ 2.0.0, < 2.4.3 | ≥ 2.5.0, < 2.5.2 | ≥ 2.5.0+incompatible, < 2.5.2+incompatible

  • github.com/goharbor/harborsrc

    < 0.0.0-20220630175814-b4ef1db

  • linuxfoundationharbor

    ≥ 2.0.0, < 2.4.3 | ≥ 2.5.0, < 2.5.2

References (4)