CVE-2024-5891 Quay: unauthorized user may authenticate via oauth application token

Medium 4.2 Published Updated

Attackers with a client ID can authenticate to unauthorized Quay applications via OAuth tokens, bypassing access controls in specific configurations.

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

What is CVE-2024-5891?

CVE-2024-5891 is a medium-severity authentication bypass vulnerability in Red Hat Quay 3, published on 12 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Quay. If an attacker can obtain the client ID for an application, they can use an OAuth token to authenticate despite not having access to the organization from which the application was created. This issue is limited to authentication and not authorization. However, in configurations where endpoints rely only on authentication, a user may authenticate to applications they otherwise have no access to.

Weakness: CWE-1390

Which versions are affected by CVE-2024-5891?

It affects 1 product.

Products include Redhat Quay.

How do I fix CVE-2024-5891?

No fix has been published for CVE-2024-5891 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-5891 being exploited?

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

Sources

Also known as GHSA-qwvx-pmh3-3mjv.

Is CVE-2024-5891 in your software?

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

Check your SBOMs for free