5.3medium
Quarkus: potential invalid reuse of context when @cacheresult on a uni is used
- Severity
- 5.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.64% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-xfv5-jqgp-vqhj
Description
A flaw was found in the Quarkus Cache Runtime. When request processing utilizes a Uni cached using @CacheResult and the cached Uni reuses the initial "completion" context, the processing switches to the cached Uni instead of the request context. This is a problem if the cached Uni context contains sensitive information, and could allow a malicious user to benefit from a POST request returning the response that is meant for another user, gaining access to sensitive data.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| io.quarkus/quarkus-cache | Not specified Not affected: from 2.13.9.Final-redhat-00002 before * | CVE List |
| quarkus-cache | Not specified | CVE List |
| io.quarkus:quarkus-cache (Maven) | from 3.3.0.CR1 before 3.5.2, from 3.2.0.CR1 before 3.2.9.Final | GitHub Advisory Database |
| redhat build_of_quarkus | Not specified | NVD |
All scores
| redhat | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
A flaw was found in the Quarkus Cache Runtime. When request processing utilizes a Uni cached using @CacheResult and the cached Uni reuses the initial "completion" context, the processing switches to the cached Uni instead of the request context. This is a problem if the cached Uni context contains sensitive information, and could allow a malicious user to benefit from a POST request returning the response that is meant for another user, gaining access to sensitive data.
NVD (es)
Se encontró una falla en Quarkus Cache Runtime. Cuando el procesamiento de solicitudes utiliza una Uni almacenada en caché usando @CacheResult y la Uni almacenada en caché reutiliza el contexto de "completion" inicial, el procesamiento cambia a la Uni almacenada en caché en lugar del contexto de solicitud. Esto es un problema si el contexto Uni almacenado en caché contiene información confidencial y podría permitir que un usuario malintencionado se beneficie de una solicitud POST que devuelva la respuesta destinada a otro usuario, obteniendo acceso a datos confidenciales.
References
| https://access.redhat.com/errata/RHSA-2023:7700 | vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2023-6393 | vdb-entry, vendor-advisory, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2253113 | issue-tracking, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-6393 | advisory | |
| https://github.com/quarkusio/quarkus/issues/37078 | web | |
| https://github.com/quarkusio/quarkus/pull/37077 | web | |
| https://github.com/quarkusio/quarkus/commit/d9ace85caec2d8497b1a2c48b8d52bb163f04adf | web | |
| https://github.com/quarkusio/quarkus | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-6393 changed 2026-11-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xfv5-jqgp-vqhj changed 2024-08-02 | CC-BY-4.0 |
| NVD | CVE-2023-6393 changed 2026-11-27 | Public domain |