CVE-2023-6393: Quarkus: potential invalid reuse of context when @cacheresult on a uni is used

Published Dec 6, 2023
·
Updated

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.

Other sources

A flaw was found under Quarkus Cache Runtime. When a request processing utilizes a Uni cached using @CacheResult, and if the cached Uni reuses the initial "completion" context, the processing switches to the context of the cached Uni instead of the request context. It can be a problem if the cached Uni context contains sensitive information. A malicious user could benefit from this as a POST request could possibly return the response that is meant for another user, having access to sensitive data.

https://github.com/quarkusio/quarkus/issues/37078

Red Hat

Affected Software

5 affected componentsFixes available
redhat/quarkus<3.2.9.
3.2.9.
redhat/quarkus<2.13.9.
2.13.9.
maven/io.quarkus:quarkus-cache>=3.2.0.CR1<3.2.9.Final
3.2.9.Final
maven/io.quarkus:quarkus-cache>=3.3.0.CR1<3.5.2
3.5.2
redhat Build Of Quarkus

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/quarkus to a version that resolves this vulnerability.

    Fixed in 3.2.9.
  2. Upgrade

    Upgrade redhat/quarkus to a version that resolves this vulnerability.

    Fixed in 2.13.9.
  3. Upgrade

    Upgrade maven/io.quarkus:quarkus-cache to a version that resolves this vulnerability.

    Fixed in 3.2.9.Final
  4. Upgrade

    Upgrade maven/io.quarkus:quarkus-cache to a version that resolves this vulnerability.

    Fixed in 3.5.2

Event History

Dec 6, 2023
Data Sourced
via Red Hat·05:20 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·04:58 PM
Data Sourced
via MITRE·04:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 PM

Frequently Asked Questions

1

What is CVE-2023-6393?

CVE-2023-6393 is a vulnerability in the Quarkus Cache Runtime that allows for potential invalid reuse of context when @CacheResult on a Uni is used.

2

What is the severity of CVE-2023-6393?

CVE-2023-6393 has a severity rating of medium and a CVSS score of 5.3.

3

How does CVE-2023-6393 impact Quarkus Cache Runtime?

CVE-2023-6393 can cause request processing to switch to a cached Uni with reused initial context, leading to potential security issues.

4

Which versions of Quarkus Cache Runtime are affected by CVE-2023-6393?

Versions 3.2.0.CR1 to 3.2.9.Final and versions 3.3.0.CR1 to 3.5.2 of Quarkus Cache Runtime are affected by CVE-2023-6393.

5

How can I fix CVE-2023-6393?

To fix CVE-2023-6393, update the Quarkus Cache Runtime to version 3.2.9.Final or newer (if using versions 3.2.0.CR1 to 3.2.9.Final), or update to version 3.5.2 or newer (if using versions 3.3.0.CR1 to 3.5.2).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203