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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.quarkus:quarkus-core | 3.9.2 | GHSA-f8h5-v2vg-46rr |
| Maven | io.quarkus:quarkus-core | 3.8.4 | GHSA-f8h5-v2vg-46rr |
| Maven | io.quarkus:quarkus-core | 3.2.12.Final | GHSA-f8h5-v2vg-46rr |
Affected products (as reported)
Weakness: CWE-526 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2024:11023 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2106 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2705 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3527 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4028 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4873 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-2700 vdb-entry, x_refsource_REDHAT
- RHBZ#2273281 issue-tracking, x_refsource_REDHAT