CVE-2024-22278 Harbor fails to validate the user permissions when updating project configurations

Medium 6.4 Published Updated

Authenticated users can modify project configurations due to missing permission checks, potentially escalating privileges or altering settings.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-22278?

CVE-2024-22278 is a medium-severity missing authorization vulnerability in harbor, published on 2 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Incorrect user permission validation in Harbor <v2.9.5 and Harbor <v2.10.3 allows authenticated users to modify configurations.

Weakness: CWE-269

Which versions are affected by CVE-2024-22278?

6 open source packages ship an affected version, including github.com/goharbor/harbor and harbor. It affects 1 product.

PackageAffectedFixed in
github.com/goharbor/harbor GoAll versions2.9.5+incompatible, 2.10.3+incompatible
github.com/goharbor/harbor GoAll versions2.9.5
github.com/goharbor/harbor GoAll versions2.9.5
github.com/goharbor/harbor GoFrom 2.10.02.10.3
github.com/goharbor/harbor GoFrom 2.10.02.10.3
harbor BitnamiAll versions2.11.0

Products include Linuxfoundation Harbor.

How do I fix CVE-2024-22278?

Upgrade github.com/goharbor/harbor to a fixed version for your release line: 2.9.5+incompatible, 2.10.3+incompatible, 2.9.5 or 2.10.3.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-22278 being exploited?

There is no known exploitation of CVE-2024-22278 in the wild and no public exploit code.

Sources

Also known as BIT-harbor-2024-22278, GHSA-hw28-333w-qxp3, GO-2024-3013.

Is CVE-2024-22278 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free