CVE-2023-1584 Quarkus-oidc: id and access tokens leak via the authorization code flow

High 7.5 Published Updated

Attackers can intercept ID and access tokens during authorization code flow if insecure HTTP is used, exposing sensitive user data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-1584?

CVE-2023-1584 is a high-severity vulnerability in Red Hat RHINT Service Registry 2.5.4 GA, published on 4 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in Quarkus. Quarkus OIDC can leak both ID and access tokens in the authorization code flow when an insecure HTTP protocol is used, which can allow attackers to access sensitive user data directly from the ID token or by using the access token to access user data from OIDC provider services. Please note that passwords are not stored in access tokens.

Weakness: CWE-200

Which versions are affected by CVE-2023-1584?

4 open source packages ship an affected version, including io.quarkus:quarkus-oidc. It affects 1 product.

PackageAffectedFixed in
io.quarkus:quarkus-oidc MavenAll versions2.13.0.Final
io.quarkus:quarkus-oidc MavenAll versions2.13.0.Final
io.quarkus:quarkus-oidc MavenFrom 3.0.03.1.0.Final
io.quarkus:quarkus-oidc MavenFrom 3.0.03.1.0.Final

Products include Quarkus Quarkus.

How do I fix CVE-2023-1584?

Upgrade io.quarkus:quarkus-oidc to a fixed version for your release line: 2.13.0.Final or 3.1.0.Final.

Is CVE-2023-1584 being exploited?

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

Sources

Also known as GHSA-6hc9-cf8x-hf83.

Is CVE-2023-1584 in your software?

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

Check your SBOMs for free