CVE-2022-31668: User permission validation failure and disclosure of P2P preheat execution logs

Published Nov 14, 2024
·
Updated

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.

Affected Software

5 affected componentsFixes available
go/github.com/goharbor/harbor/src<0.0.0-20220630175814-b4ef1db
0.0.0-20220630175814-b4ef1db
go/github.com/goharbor/harbor>=2.5.0<2.5.2
2.5.2
go/github.com/goharbor/harbor>=2.0.0<2.4.3
2.4.3
linuxfoundation Harbor>=2.0.0<2.4.3
linuxfoundation Harbor>=2.5.0<2.5.2

Event History

Nov 14, 2024
CVE Published
via MITRE·11:56 AM
Data Sourced
via MITRE·11:56 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-31668?

CVE-2022-31668 is a critical vulnerability that allows unauthorized modification of p2p preheat policies.

2

How do I fix CVE-2022-31668?

To fix CVE-2022-31668, upgrade to a version of Harbor that is greater than 2.5.2 or apply the recommended patches.

3

What versions are affected by CVE-2022-31668?

CVE-2022-31668 affects Harbor versions prior to 2.4.3 and 2.5.2.

4

What type of vulnerability is CVE-2022-31668?

CVE-2022-31668 is an access control vulnerability that fails to validate user permissions.

5

Who can exploit CVE-2022-31668?

An attacker with access to update p2p preheat policies can exploit CVE-2022-31668 if they target projects they shouldn't have access to.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203