CVE-2024-2700 is a high-severity (CVSS 7) CWE-526 vulnerability in io.quarkus:quarkus-core. A fix is available for io.quarkus:quarkus-core — see the affected versions and patch details below.
quarkus-core leaks local environment variables from Quarkus namespace during application's build
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-2700.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
How urgent is this, really
CVE-2024-2700 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.
Where this sits among everything scored
Of 377,636 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.
Real-World Exposure
io.quarkus:quarkus-core☕io.quarkus:quarkus-core☕io.quarkus:quarkus-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
A vulnerability was found in the quarkus-core component. Quarkus captures the local environment variables from the Quarkus namespace during the application's build. Thus, running the resulting application inherits the values captured at build time.
However, some local environment variables may have been set by the developer / CI environment for testing purposes, such as dropping the database during the 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. It may lead to dangerous behavior if the application does not override these values.
This behavior only happens for configuration properties from the quarkus.* namespace. So, application-specific properties are not captured.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.quarkus:quarkus-core | ≥ 3.9.0.CR1&&< 3.9.2 | 3.9.2io.quarkus:quarkus-core:3.9.2 |
| ☕Maven | io.quarkus:quarkus-core | ≥ 3.3.0.CR1&&< 3.8.4 | 3.8.4io.quarkus:quarkus-core:3.8.4 |
| ☕Maven | io.quarkus:quarkus-core | all versions | 3.2.12.Finalio.quarkus:quarkus-core:3.2.12.Final |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.quarkus:quarkus-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.quarkus:quarkus-core to 3.9.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-2700 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2024-2700 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2024-2700. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat rates this as a Moderate impact vulnerability since this requires an attacker to have direct access to the environment variables to override, and the application must use that environment variable to be jeopardized.
| Product | Fixed in | Advisory |
|---|---|---|
| HawtIO 4.0.0 for Red Hat build of Apache Camel 4 | quarkus-core | RHSA-2024:11023 |
| Red Hat AMQ Streams 2.7.0 | see advisory | RHSA-2024:3527 |
| Red Hat build of Apicurio Registry 2.6.1 GA | quarkus-core | RHSA-2024:4873 |
| Red Hat build of Quarkus 3.2.12.Final | io.quarkus/quarkus-core:3.2.12.Final-redhat-00001 | RHSA-2024:2705 |
| Red Hat build of Quarkus 3.8.4.redhat | io.quarkus/quarkus-core:3.8.4.redhat-00002 | RHSA-2024:2106 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/client-kn-rhel8:1.12.0-4 | RHSA-2024:4028 |
Frequently Asked Questions
Is CVE-2024-2700 in your dependencies?
O3 Security finds CVE-2024-2700 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.