CVE-2024-2700
JSON

7.0high

Quarkus-core: leak of local configuration properties into quarkus applications

Severity
7.0high CVSS:3.1 by redhat
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-f8h5-v2vg-46rr

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.

Affected

Product or packageVersionsReported by
quarkus-core3.8.4, 3.2.12CVE List
Red Hat Red Hat AMQ Streams 2.7.0Not specifiedCVE List
io.quarkus/quarkus-coreNot specified
Not affected: from 3.2.12.Final-redhat-00001 before *, from 3.8.4.redhat-00002 before *
CVE List
openshift-serverless-1/client-kn-rhel8Not specified
Not affected: from 1.12.0-4 before *
CVE List
openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8Not specified
Not affected: from 1.12.0-6 before *
CVE List
openshift-serverless-1/eventing-controller-rhel8Not specified
Not affected: from 1.12.0-6 before *
CVE List
openshift-serverless-1/eventing-in-memory-channel-controller-rhel8Not specified
Not affected: from 1.12.0-6 before *
CVE List
openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8Not specified
Not affected: from 1.12.0-6 before *
CVE List
openshift-serverless-1/eventing-istio-controller-rhel8Not specified
Not affected: from 1.12.0-4 before *
CVE List
openshift-serverless-1/eventing-kafka-broker-controller-rhel8Not specified
Not affected: from 1.12.0-4 before *
CVE List
openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8Not specified
Not affected: from 1.12.0-4 before *
CVE List
openshift-serverless-1/eventing-kafka-broker-post-install-rhel8Not specified
Not affected: from 1.12.0-4 before *
CVE List

All scores

redhat7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-526

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Se encontró una vulnerabilidad en el componente quarkus-core. Quarkus captura las variables de entorno local del espacio de nombres de Quarkus durante la compilación de la aplicación. Por lo tanto, la ejecución de la aplicación resultante hereda los valores capturados en el momento de la compilación. Sin embargo, es posible que el entorno de desarrollador/CI haya configurado algunas variables de entorno local con fines de prueba, como eliminar la base de datos durante el inicio de la aplicación o confiar en que todos los certificados TLS acepten certificados autofirmados. Si estas propiedades se configuran mediante variables de entorno o la función .env, se capturan en la aplicación integrada. Conduce a un comportamiento peligroso si la aplicación no anula estos valores. Este comportamiento solo ocurre para las propiedades de configuración del espacio de nombres `quarkus.*`. Por lo tanto, las propiedades específicas de la aplicación no se capturan.

References

https://access.redhat.com/errata/RHSA-2024:11023vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:2106vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:2705vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:3527vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:4028vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:4873vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2024-2700vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2273281issue-tracking, web
https://nvd.nist.gov/vuln/detail/CVE-2024-2700advisory
https://github.com/quarkusio/quarkus/issues/39927web
https://github.com/quarkusio/quarkus/commit/2b24dc8dbc8f390c97428783d67614418676fc2eweb
https://github.com/quarkusio/quarkus/commit/91c3a58eaefe59e0afd430653d1636d664bd593fweb

Sources

SourceRecordLicence
CVE ListCVE-2024-2700 changed 2026-11-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-f8h5-v2vg-46rr changed 2026-08-07CC-BY-4.0
NVDCVE-2024-2700 changed 2026-11-05Public domain