CVE-2024-2700
Quarkus-core: leak of local configuration properties into quarkus applications
Check your servers for CVE-2024-2700
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-2700 affects quarkus-core, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 23 Apr 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
quarkus-core
package
quarkus-core |
affected 3.8.4 affected 3.2.12
Other versions: unaffected
|
|
HawtIO 4.0.0 for Red Hat build of Apache Camel 4
package
quarkus-core |
unaffected the record does not list versions
|
| Red Hat AMQ Streams 2.7.0 |
unaffected the record does not list versions
|
|
Red Hat build of Apicurio Registry 2.6.1 GA
package
quarkus-core |
unaffected the record does not list versions
|
|
Red Hat build of Quarkus 3.2.12.Final
package
io.quarkus/quarkus-core |
unaffected 3.2.12.Final-redhat-00001 and later
Other versions: affected
|
|
Red Hat build of Quarkus 3.8.4.redhat
package
io.quarkus/quarkus-core |
unaffected 3.8.4.redhat-00002 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/client-kn-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-controller-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-in-memory-channel-controller-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-istio-controller-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-kafka-broker-controller-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-kafka-broker-post-install-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-kafka-broker-receiver-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-kafka-broker-webhook-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-mtbroker-filter-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-mtbroker-ingress-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-mtchannel-broker-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-mtping-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-storage-version-migration-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/eventing-webhook-rhel8 |
unaffected 1.12.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/func-utils-rhel8 |
unaffected 1.33.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/ingress-rhel8-operator |
unaffected 1.33.0-5 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/knative-rhel8-operator |
unaffected 1.33.0-5 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/kn-cli-artifacts-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/kourier-control-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/net-istio-controller-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/net-istio-webhook-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serverless-operator-bundle |
unaffected 1.33.0-6 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serverless-rhel8-operator |
unaffected 1.33.0-5 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serving-activator-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serving-autoscaler-hpa-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serving-autoscaler-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serving-controller-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serving-queue-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serving-storage-version-migration-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/serving-webhook-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1/svls-must-gather-rhel8 |
unaffected 1.33.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1-tech-preview/backstage-plugins-eventmesh-rhel8 |
unaffected 1.33.0-4 and later
Other versions: affected
|
|
RHOSS-1.33-RHEL-8
package
openshift-serverless-1-tech-preview/knative-client-plugin-event-sender-rhel8 |
unaffected 1.12.0-4 and later
Other versions: affected
|
|
Red Hat build of Apache Camel 4 for Quarkus 3
package
quarkus-core |
affected the record does not list versions
|
|
Red Hat Build of Keycloak
package
quarkus-core |
affected the record does not list versions
|
|
Red Hat build of OptaPlanner 8
package
quarkus-core |
affected the record does not list versions
|
|
Red Hat build of Quarkus
package
quarkus-core |
affected the record does not list versions
|
|
Red Hat Integration Camel K 1
package
quarkus-core |
affected the record does not list versions
|
|
Red Hat Integration Camel Quarkus 2
package
quarkus-core |
affected the record does not list versions
|
Is my server affected?
Find the installed version of quarkus-core and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i quarkus-core
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-2700 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-2700RHEL, Rocky, Alma, Fedora
rpm -q quarkus-core
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-2700Alpine
apk list --installed | grep -i quarkus-coreWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-2700
trivy image --scanners vuln IMAGE | grep CVE-2024-2700
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2024:11023 access.redhat.com · vendor advisory
- RHSA-2024:2106 access.redhat.com · vendor advisory
- RHSA-2024:2705 access.redhat.com · vendor advisory
- RHSA-2024:3527 access.redhat.com · vendor advisory
- RHSA-2024:4028 access.redhat.com · vendor advisory
- RHSA-2024:4873 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2024-2700 access.redhat.com · vdb entry
- RHBZ#2273281 bugzilla.redhat.com · issue tracking
Source: the record CVE-2024-2700 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse