1. Archivio CVE
  2. 2024
  3. CVE-2024-2700

CVE-2024-2700

7 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 7 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– quarkus-core 3.8.4 –
– quarkus-core 3.2.12 –
redhat amq streams 2 –
redhat apache camel hawtio 4.0 –
redhat apicurio registry 2.6 –
redhat build keycloak tutte –
redhat camel k 1 –
redhat camel quarkus 3 –
redhat camel quarkus 2 –
redhat openshift serverless 1.33 –
redhat optaplanner tutte –
redhat quarkus 3.2 –
redhat quarkus 3.8 –
redhat quarkus 2 –
Tutte le 62 vulnerabilità di Redhat Quarkus

Tipo di vulnerabilità

CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable

The product uses an environment variable to store unencrypted sensitive information.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione Encrypt information stored in the environment variable to protect it from being exposed to an unauthorized user. If encryption is not feasible or is considered too expensive for the business use of the application, then consider using a properly protected configuration file instead of an environment variable. It should be understood that unencrypted information in a config file is also not guaranteed to be protected, but it is still a better choice, because it reduces attack surface related to weaknesses such as CWE-214. In some settings, vaults might be a feasible option for safer data transfer. Users should be notified of the business choice made to not protect the sensitive information through encryption.
Sviluppo If the environment variable is not necessary for the desired behavior, then remove it entirely, or clear it to an empty value.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 24 CVE di tipo CWE-526, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org