Skip to content
Fencer Vulns
high 7.4

CVE-2022-31668 json

User permission validation failure and disclosure of P2P preheat execution logs

published 2024-11-14 23 mo ago modified 2026-09-08 2 mo ago also BIT-harbor-2022-31668 , EUVD-2024-3308 , GHSA-3wpx-625q-22j7 , GHSA-r864-28pw-8682 , GO-2024-3268

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/goharbor/harbor 2.4.3, 2.4.3+incompatible, 2.5.2, 2.5.2+incompatible
  • go github.com/goharbor/harbor/src 0.0.0-20220630175814-b4ef1db
  • bitnami harbor 2.4.3, 2.5.2
  • linuxfoundation harbor 2.4.3, 2.5.2
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20241213T205935-1.1

opensuse advisories openSUSE-SU-2024:14599-1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
23 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
NVD 3.1 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
OSV 3.1 7.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/goharbor/harbor
>=2.0.0, <2.4.3
>=2.5.0, <2.5.2
>=2.0.0+incompatible, <2.4.3+incompatible
>=2.5.0+incompatible, <2.5.2+incompatible
2.4.3
2.5.2
2.4.3+incompatible
2.5.2+incompatible
go github.com/goharbor/harbor/src
<0.0.0-20220630175814-b4ef1db
0.0.0-20220630175814-b4ef1db
bitnami harbor
>=2.0.0, <2.4.3
>=2.5.0, <2.5.2
2.4.3
2.5.2

Affected products

  • n/a Harbor

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.