CVE-2024-2700

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

Published Apr 4, 2024 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Currently, no mitigation is available for this vulnerability. Please update as the patches become available.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1194 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 GHSA Github GHSA GHSA-f8h5-v2vg-46rr quarkus-core leaks local environment variables from Quarkus namespace during application's build
History
Type Values Removed Values Added
First Time appeared Redhat camel K
CPEs cpe:/a:redhat:apache_camel_hawtio:4
cpe:/a:redhat:integration:1
cpe:/a:redhat:openshift_application_runtimes:1.0
cpe:/a:redhat:rhboac_hawtio:4.0
cpe:/a:redhat:apache_camel_hawtio:4.0
cpe:/a:redhat:camel_k:1
cpe:/a:redhat:quarkus:3.2
cpe:/a:redhat:quarkus:3.8
Vendors & Products Redhat integration
Redhat openshift Application Runtimes
Redhat camel K
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhboac_hawtio:4.0
Type Values Removed Values Added
First Time appeared Redhat apache Camel Hawtio
CPEs cpe:/a:redhat:apache_camel_hawtio:4
Vendors & Products Redhat apache Camel Hawtio
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhboac_hawtio:4 cpe:/a:redhat:rhboac_hawtio:4.0.0
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:22 cpe:/a:redhat:build_keycloak: