ghsa-f8h5-v2vg-46rr
Vulnerability from github
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": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 3.9.1" }, "package": { "ecosystem": "Maven", "name": "io.quarkus:quarkus-core" }, "ranges": [ { "events": [ { "introduced": "3.9.0.CR1" }, { "fixed": "3.9.2" } ], "type": "ECOSYSTEM" } ] }, { "database_specific": { "last_known_affected_version_range": "\u003c= 3.8.3" }, "package": { "ecosystem": "Maven", "name": "io.quarkus:quarkus-core" }, "ranges": [ { "events": [ { "introduced": "3.3.0.CR1" }, { "fixed": "3.8.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "io.quarkus:quarkus-core" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.2.12.Final" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-2700" ], "database_specific": { "cwe_ids": [ "CWE-526" ], "github_reviewed": true, "github_reviewed_at": "2024-04-04T17:01:45Z", "nvd_published_at": "2024-04-04T14:15:09Z", "severity": "HIGH" }, "details": "A vulnerability was found in the quarkus-core component. Quarkus captures the local environment variables from the Quarkus namespace during the application\u0027s build. Thus, running the resulting application inherits the values captured at build time. \n\nHowever, 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.\n\nThis behavior only happens for configuration properties from the `quarkus.*` namespace. So, application-specific properties are not captured.", "id": "GHSA-f8h5-v2vg-46rr", "modified": "2024-07-25T21:31:19Z", "published": "2024-04-04T15:30:34Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-2700" }, { "type": "WEB", "url": "https://github.com/quarkusio/quarkus/issues/39927" }, { "type": "WEB", "url": "https://github.com/quarkusio/quarkus/commit/2b24dc8dbc8f390c97428783d67614418676fc2e" }, { "type": "WEB", "url": "https://github.com/quarkusio/quarkus/commit/91c3a58eaefe59e0afd430653d1636d664bd593f" }, { "type": "WEB", "url": "https://github.com/quarkusio/quarkus/commit/990c3ee5dd5c689f514e5e87c221bce6d5dff267" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2024:2106" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2024:2705" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2024:3527" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2024:4028" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2024:4873" }, { "type": "WEB", "url": "https://access.redhat.com/security/cve/CVE-2024-2700" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2273281" }, { "type": "PACKAGE", "url": "https://github.com/quarkusio/quarkus" }, { "type": "WEB", "url": "https://quarkus.io/blog/quarkus-3-2-12-final-released" }, { "type": "WEB", "url": "https://quarkus.io/blog/quarkus-3-8-4-released" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "quarkus-core leaks local environment variables from Quarkus namespace during application\u0027s build" }
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.