Vulnerabilities in pkg:maven/io.quarkus/quarkus-oidc
PACKAGECVE-2023-1584 is a HIGH (CVSS 7.5) quarkus oidc can leak both vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Quarkus oidc libraries in the Maven ecosystem. The issue involves quarkus oidc can leak both id and access tokens. Remediation is available by upgrading affected packages to version 2.13.0.Final, 3.1.0.Final.
pkg:maven/io.quarkus/quarkus-oidc
Vulnerability advisories affecting package pkg:maven/io.quarkus/quarkus-oidc. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6hc9-cf8x-hf83 | CVE-2023-1584 | HIGH | Quarkus OIDC can leak both ID and access tokens |
CVE-2023-1584 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-1584
To remediate this vulnerability, upgrade all affected Quarkus oidc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc</artifactId>
<version>2.13.0.Final</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc</artifactId>
<version>3.1.0.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.quarkus
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-1584, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.quarkus
Analyze the terminal output to locate any version of Quarkus oidc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.13.0.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.quarkus command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Quarkus oidc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-1584 Affected Quarkus oidc Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.quarkus:quarkus-oidc
|
Maven |
< 2.13.0.Final
|
2.13.0.Final
|
|
io.quarkus:quarkus-oidc
|
Maven |
≥ 3.0.0
< 3.1.0.Final
|
3.1.0.Final
|
References
Frequently Asked Questions
What is CVE-2023-1584?
Which Quarkus oidc versions are affected?
What version fixes CVE-2023-1584?
Is quarkus-oidc affected?
What is the CVSS score of CVE-2023-1584?
What CWE is associated with CVE-2023-1584?
How can I check Maven dependencies for CVE-2023-1584?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6hc9-cf8x-hf83",
"modified" : "2024-05-03T18:30:35Z",
"published" : "2023-10-04T12:30:14Z",
"aliases" : [ "CVE-2023-1584" ],
"summary" : "Quarkus OIDC can leak both ID and access tokens",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.quarkus:quarkus-oidc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.13.0.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.quarkus:quarkus-oidc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.1.0.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1584"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/pull/32192"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/pull/32192/commits/5369d7ff233d3afe84ecd9160c541fba52b38e69"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/pull/33414"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/pull/33414/commits/df305ff12386cf28b33567b8d9a18db164f019dd"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/commit/5369d7ff233d3afe84ecd9160c541fba52b38e69"
}, {
"type" : "WEB",
"url" : "https://github.com/quarkusio/quarkus/commit/df305ff12386cf28b33567b8d9a18db164f019dd"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:3809"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:7653"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2023-1584"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2180886"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quarkusio/quarkus"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-04T18:49:34Z",
"nvd_published_at" : "2023-10-04T11:15:09Z"
}
}