What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Red Hat build of Quarkus 3.2.12.Final 3.2.12.Final-redhat-00001; Red Hat build of Quarkus 3.8.4.redhat 3.8.4.redhat-00002; Red Hat RHOSS-1.33-RHEL-8 1.12.0-4, 1.12.0-6, 1.33.0-4, 1.33.0-5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-2700 or the next vulnerability affects your stack