CVE-2023-6393
JSON

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 packageVersionsReported by
io.quarkus/quarkus-cacheNot specified
Not affected: from 2.13.9.Final-redhat-00002 before *
CVE List
quarkus-cacheNot specifiedCVE List
io.quarkus:quarkus-cache (Maven)from 3.3.0.CR1 before 3.5.2, from 3.2.0.CR1 before 3.2.9.FinalGitHub Advisory Database
redhat build_of_quarkusNot specifiedNVD

All scores

redhat5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD5.3medium CVSS:3.1CVSS: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

Sources

SourceRecordLicence
CVE ListCVE-2023-6393 changed 2026-11-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-xfv5-jqgp-vqhj changed 2024-08-02CC-BY-4.0
NVDCVE-2023-6393 changed 2026-11-27Public domain