Skip to content

Keycloak

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

CVE-2024-2700Published 4 Apr 2024, 13:46 UTC

Real-world risk

1.9/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.0

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from redhat)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
KeycloakWidespreadnot stated—
Red Hat build of Apache Camel 4 for Quarkus 3Commonnot stated—
Red Hat build of Apicurio Registry 2Commonnot stated—
Red Hat build of QuarkusCommonnot stated—
HawtIO 4.0.0 for Red Hat build of Apache Camel 4Nichenot stated—
RHOSS-1.36-RHEL-8Nichenot stated—
Red Hat AMQ Streams 2.7.0Nichenot stated—
Red Hat Integration Camel K 1Nichenot stated—
Red Hat Integration Camel Quarkus 2Nichenot stated—
Red Hat build of OptaPlanner 8Nichenot stated—
quarkus-coreNiche= 3.8.4; = 3.2.12—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 26), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.225 × threat 0.851.912
  4. Rounded to one decimal between 0.1 and 101.9

How the score works

Exploitation and evidence timeline

  1. 4 Apr 2024 Published
  2. 3 Dec 2026 Risk 1.9 (cvss fallback)

Weakness

CWE-526

References

Get alerts for Keycloak

Free email or text alerts when a vulnerability in Keycloak reaches risk 8 or higher. Nothing else.