Vulnerability · Published Apr 4, 2024 · Assigned by redhat

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

High 7.0

In plain English

A high-severity security flaw in quarkus-core. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.3%top 76.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenio.quarkus:quarkus-core3.9.2GHSA-f8h5-v2vg-46rr
Mavenio.quarkus:quarkus-core3.8.4GHSA-f8h5-v2vg-46rr
Mavenio.quarkus:quarkus-core3.2.12.FinalGHSA-f8h5-v2vg-46rr

Affected products (as reported)

VendorProductVersions
quarkus-core 3.8.43.2.12
Red Hat HawtIO 4.0.0 for Red Hat build of Apache Camel 4 see references
Red Hat Red Hat AMQ Streams 2.7.0 see references
Red Hat Red Hat build of Apicurio Registry 2.6.1 GA see references
Red Hat Red Hat build of Quarkus 3.2.12.Final see references
Red Hat Red Hat build of Quarkus 3.8.4.redhat see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references
Red Hat RHOSS-1.33-RHEL-8 see references

Weakness: CWE-526 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References