cve.bz

CVE-2022-31668

7.7 highEPSS 0.3%

High (7.7) in linuxfoundation harbor. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in github.com/goharbor/harbor 2.4.3, 2.4.3+incompatible, 2.5.2.

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.

Severity

CVSS 3.1

7.7 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 23% of CVEs (scores of 2026-10-31)
CWEs
CWE-863, CWE-285
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r864-28pw-8682Gogithub.com/goharbor/harbor>=2.0.0 <2.4.32.4.3
GHSA-r864-28pw-8682Gogithub.com/goharbor/harbor>=2.5.0 <2.5.22.5.2
GHSA-r864-28pw-8682Gogithub.com/goharbor/harbor/src<0.0.0-20220630175814-b4ef1db0.0.0-20220630175814-b4ef1db
GO-2024-3268Gogithub.com/goharbor/harbor>=2.0.0+incompatible <2.4.3+incompatible
>=2.5.0+incompatible <2.5.2+incompatible
2.4.3+incompatible, 2.5.2+incompatible

References

Check your stackJSON