Quarkus-core: leak of local configuration properties into quarkus applications
CVE-2024-2700Published 4 Apr 2024, 13:46 UTC
Real-world risk
1.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
A vulnerability was found in the quarkus-core component. Quarkus captures local environment variables from the Quarkus namespace during the application's build, therefore, running the resulting application inherits the values captured at build time. Some local environment variables may have been set by the developer or CI environment for testing purposes, such as dropping the database during application startup or trusting all TLS certificates to accept self-signed certificates. If these properties are configured using environment variables or the .env facility, they are captured into the built application, which can lead to dangerous behavior if the application does not override these values. This behavior only happens for configuration properties from the `quarkus.*` namespace. Application-specific properties are not captured.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| KeycloakWidespread | not stated | — |
| Red Hat build of Apache Camel 4 for Quarkus 3Common | not stated | — |
| Red Hat build of Apicurio Registry 2Common | not stated | — |
| Red Hat build of QuarkusCommon | not stated | — |
| HawtIO 4.0.0 for Red Hat build of Apache Camel 4Niche | not stated | — |
| RHOSS-1.36-RHEL-8Niche | not stated | — |
| Red Hat AMQ Streams 2.7.0Niche | not stated | — |
| Red Hat Integration Camel K 1Niche | not stated | — |
| Red Hat Integration Camel Quarkus 2Niche | not stated | — |
| Red Hat build of OptaPlanner 8Niche | not stated | — |
| quarkus-coreNiche | = 3.8.4; = 3.2.12 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 26), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.225 × threat 0.851.912
- Rounded to one decimal between 0.1 and 101.9
Exploitation and evidence timeline
- 4 Apr 2024 Published
- 3 Dec 2026 Risk 1.9 (cvss fallback)
Weakness
CWE-526
References
- https://access.redhat.com/errata/RHSA-2024:11023redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2024:2106redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:2705redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:3527redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:4028redhat, vendor-advisory, x-transferred
- https://access.redhat.com/errata/RHSA-2024:4873redhat, vendor-advisory, x-transferred
- https://access.redhat.com/security/cve/CVE-2024-2700redhat, vdb-entry, x-transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2273281issue-tracking, redhat, x-transferred
- CVE-2024-2700 on CVE.org