CVE-2024-2700
Public on
Last Modified:
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.
Statement
Red Hat rates this as a Moderate impact vulnerability since this requires an attacker to have direct access to the environment variables to override, and the application must use that environment variable to be jeopardized.
Mitigation
Currently, no mitigation is available for this vulnerability. Please update as the patches become available.
Additional Information
- This content is not included.Bugzilla 2273281: quarkus-core: Leak of local configuration properties into Quarkus applications
- Content from cwe.mitre.org is not included.CWE-526: Cleartext Storage of Sensitive Information in an Environment Variable
- FAQ: Frequently asked questions about CVE-2024-2700
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2024-2700
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2024-2700
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| HawtIO 4.0.0 for Red Hat build of Apache Camel 4 | quarkus-core | Fixed | RHSA-2024:11023 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1-tech-preview/backstage-plugins-eventmesh-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1-tech-preview/knative-client-plugin-event-sender-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/client-kn-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-controller-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-in-memory-channel-controller-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-istio-controller-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-kafka-broker-controller-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-kafka-broker-post-install-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-kafka-broker-receiver-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-kafka-broker-webhook-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-mtbroker-filter-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-mtbroker-ingress-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-mtchannel-broker-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-mtping-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-storage-version-migration-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/eventing-webhook-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/func-utils-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/ingress-rhel8-operator | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/kn-cli-artifacts-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/knative-rhel8-operator | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/kourier-control-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/net-istio-controller-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/net-istio-webhook-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serverless-operator-bundle | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serverless-rhel8-operator | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serving-activator-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serving-autoscaler-hpa-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serving-autoscaler-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serving-controller-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serving-queue-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serving-storage-version-migration-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/serving-webhook-rhel8 | Fixed | RHSA-2024:4028 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/svls-must-gather-rhel8 | Fixed | RHSA-2024:4028 |
| Red Hat AMQ Streams 2.7.0 | Fixed | RHSA-2024:3527 | |
| Red Hat Build of Keycloak | quarkus-core | Affected | |
| Red Hat Integration Camel K 1 | quarkus-core | Will not fix | |
| Red Hat Integration Camel Quarkus 2 | quarkus-core | Will not fix | |
| Red Hat build of Apache Camel - HawtIO 4 | quarkus-core | Affected | |
| Red Hat build of Apache Camel 4 for Quarkus 3 | quarkus-core | Affected | |
| Red Hat build of Apicurio Registry 2.6.1 GA | quarkus-core | Fixed | RHSA-2024:4873 |
| Red Hat build of OptaPlanner 8 | quarkus-core | Will not fix | |
| Red Hat build of Quarkus | io.quarkus/quarkus-core | Will not fix | |
| Red Hat build of Quarkus 3.2.12.Final | io.quarkus/quarkus-core | Fixed | RHSA-2024:2705 |
| Red Hat build of Quarkus 3.8.4.redhat | io.quarkus/quarkus-core | Fixed | RHSA-2024:2106 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7 | |
| Attack Vector | Local | |
| Attack Complexity | High | |
| Privileges Required | Low | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | High | |
| Integrity Impact | High | |
| Availability Impact | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
Not sure what something means? Check out our Security Glossary.