{"id":"CVE-2023-6393","aliases":["EUVD-2023-3324","GHSA-xfv5-jqgp-vqhj"],"status":"published","title":"Quarkus: potential invalid reuse of context when @cacheresult on a uni is used","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00636,"percentile":0.50958,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2023-12-06T16:58:54Z","modified":"2026-09-29T10:17:08Z","fixes":[{"ecosystem":"Maven","package":"io.quarkus:quarkus-cache","fixed_in":["3.5.2","3.2.9.Final"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"io.quarkus:quarkus-cache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0.CR1"},{"fixed":"3.5.2"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"io.quarkus:quarkus-cache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0.CR1"},{"fixed":"3.2.9.Final"}]}]},{"source":"osv","ecosystem":"Maven","package":"io.quarkus:quarkus-cache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0.CR1"},{"fixed":"3.5.2"}]}],"versions":["3.3.0","3.3.0.CR1","3.3.1","3.3.2","3.3.3","3.4.0","3.4.0.CR1","3.4.1","3.4.2","3.4.3","3.5.0","3.5.0.CR1","3.5.1"]},{"source":"osv","ecosystem":"Maven","package":"io.quarkus:quarkus-cache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0.CR1"},{"fixed":"3.2.9.Final"}]}],"versions":["3.2.0.CR1","3.2.0.Final","3.2.1.Final","3.2.2.Final","3.2.3.Final","3.2.4.Final","3.2.5.Final","3.2.6.Final","3.2.7.Final","3.2.8.Final"]}],"products":[{"vendor":"red hat","product":"red hat build of quarkus"},{"vendor":"redhat","product":"build_of_quarkus"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:7700","tags":["vendor-advisory","x_refsource_REDHAT","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6393","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Vendor Advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2253113","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6393","tags":["advisory"]},{"url":"https://github.com/quarkusio/quarkus/issues/37078","tags":["web"]},{"url":"https://github.com/quarkusio/quarkus/pull/37077","tags":["web"]},{"url":"https://github.com/quarkusio/quarkus/commit/d9ace85caec2d8497b1a2c48b8d52bb163f04adf","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xfv5-jqgp-vqhj"},{"url":"https://github.com/quarkusio/quarkus","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-6393","title":"Quarkus: potential invalid reuse of context when @cacheresult on a uni is used","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.","status":"published","published":"2023-12-06T16:58:54.23Z","modified":"2026-09-29T10:10:07.504Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:35:25.095989Z"}],"euvd":[{"id":"EUVD-2023-3324","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.","status":"published","published":"2023-12-06T16:58:54Z","modified":"2026-09-29T10:10:07Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T17:27:52.331616Z"}],"ghsa":[{"id":"GHSA-xfv5-jqgp-vqhj","title":"Quarkus Cache Runtime exposes sensitive information to an unauthorized actor","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.","status":"published","published":"2023-12-06T18:31:05Z","modified":"2024-08-02T15:31:16Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:37:57.422393Z"}],"nvd":[{"id":"CVE-2023-6393","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.","status":"published","published":"2023-12-06T17:15:07.377Z","modified":"2026-09-29T10:17:08.55Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:08:54.010507Z"}],"osv":[{"id":"GHSA-xfv5-jqgp-vqhj","title":"Quarkus Cache Runtime exposes sensitive information to an unauthorized actor","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.","status":"published","published":"2023-12-06T18:31:05Z","modified":"2024-08-02T15:49:25.26255Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:59.835583Z"}]}}
