High

quarkus-core leaks local environment variables from Quarkus namespace during application's build

  • Disclosed: 04.04.2024
  • Updated: 11.10.2026 12:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) io.quarkus:quarkus-core >= 3.9.0.CR1, < 3.9.2, >= 3.3.0.CR1, < 3.8.4, < 3.2.12.Final 3.9.2, 3.8.4, 3.2.12.Final

References

CVSS score 7/10
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-526
Platform
Java / Kotlin (Maven)
Package
io.quarkus:quarkus-core
Disclosed
04.04.2024
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-f8h5-v2vg-46rr - CC BY 4.0

Vulnerability history: io.quarkus:quarkus-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
07.2023 04.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 1

Disclosures per year

  1. 2023: 1
  2. 2024: 1
  3. 2025: 0
  4. 2026: 0
  1. quarkus-core leaks local environment variables from Quarkus namespace during application's build this entry
    High · 7.0 CVE-2024-2700 >= 3.9.0.CR1, < 3.9.2, >= 3.3.0.CR1, < 3.8.4, < 3.2.12.Final 3.9.2, 3.8.4, 3.2.12.Final
  2. Medium · 6.5 CVE-2023-2974 < 2.16.8.Final 2.16.8.Final

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.