From f8c07d91f6e986af73070199de6e278aad4037bf Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 19:36:46 +0000 Subject: [PATCH] Publish Advisories GHSA-pcx7-8hxg-j823 GHSA-xg58-75qf-9r67 GHSA-pcx7-8hxg-j823 --- .../GHSA-pcx7-8hxg-j823.json | 97 +++++++++++++++++++ .../GHSA-xg58-75qf-9r67.json | 65 +++++++++++++ .../GHSA-pcx7-8hxg-j823.json | 58 ----------- 3 files changed, 162 insertions(+), 58 deletions(-) create mode 100644 advisories/github-reviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json create mode 100644 advisories/github-reviewed/2024/11/GHSA-xg58-75qf-9r67/GHSA-xg58-75qf-9r67.json delete mode 100644 advisories/unreviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json diff --git a/advisories/github-reviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json b/advisories/github-reviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json new file mode 100644 index 00000000000..91bcba9235c --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json @@ -0,0 +1,97 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-pcx7-8hxg-j823", + "modified": "2024-11-25T19:35:56Z", + "published": "2024-11-25T09:30:59Z", + "withdrawn": "2024-11-25T19:35:56Z", + "aliases": [ + + ], + "summary": "Duplicate Advisory: Keycloak proxy header handling Denial-of-Service (DoS) vulnerability", + "details": "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-jgwc-jh89-rpgq. This link is maintained to preserve external references.\n\n## Original Description\nA vulnerability was found in the Keycloak Server. The Keycloak Server is vulnerable to a denial of service (DoS) attack due to improper handling of proxy headers. When Keycloak is configured to accept incoming proxy headers, it may accept non-IP values, such as obfuscated identifiers, without proper validation. This issue can lead to costly DNS resolution operations, which an attacker could exploit to tie up IO threads and potentially cause a denial of service.\nThe attacker must have access to send requests to a Keycloak instance that is configured to accept proxy headers, specifically when reverse proxies do not overwrite incoming headers, and Keycloak is configured to trust these headers.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Maven", + "name": "org.keycloak:keycloak-quarkus-server" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "24.0.9" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.keycloak:keycloak-quarkus-server" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "25.0.0" + }, + { + "fixed": "26.0.6" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9666" + }, + { + "type": "WEB", + "url": "https://access.redhat.com/errata/RHSA-2024:10175" + }, + { + "type": "WEB", + "url": "https://access.redhat.com/errata/RHSA-2024:10176" + }, + { + "type": "WEB", + "url": "https://access.redhat.com/errata/RHSA-2024:10177" + }, + { + "type": "WEB", + "url": "https://access.redhat.com/errata/RHSA-2024:10178" + }, + { + "type": "WEB", + "url": "https://access.redhat.com/security/cve/CVE-2024-9666" + }, + { + "type": "WEB", + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2317440" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-444" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-11-25T19:35:56Z", + "nvd_published_at": "2024-11-25T08:15:10Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/11/GHSA-xg58-75qf-9r67/GHSA-xg58-75qf-9r67.json b/advisories/github-reviewed/2024/11/GHSA-xg58-75qf-9r67/GHSA-xg58-75qf-9r67.json new file mode 100644 index 00000000000..93507582057 --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-xg58-75qf-9r67/GHSA-xg58-75qf-9r67.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-xg58-75qf-9r67", + "modified": "2024-11-25T19:35:10Z", + "published": "2024-11-25T19:35:10Z", + "aliases": [ + "CVE-2024-52529" + ], + "summary": "Cilium's Layer 7 policy enforcement may not occur in policies with wildcarded port ranges", + "details": "### Impact\n\nFor users with the following configuration:\n\n* An allow policy that selects a [Layer 3 destination](https://docs.cilium.io/en/v1.14/security/policy/language/#layer-3-examples) and a [port range](https://docs.cilium.io/en/stable/security/policy/language/#example-port-ranges) **AND**\n* A [Layer 7 allow policy](https://docs.cilium.io/en/latest/security/policy/language/#layer-7-examples) that selects a specific port within the first policy's range \n\nthen Layer 7 enforcement would not occur for the traffic selected by the Layer 7 policy.\n\nThis issue only affects users who use Cilium's port range functionality, which was introduced in Cilium v1.16.\n\nFor reference, an example of a pair of policies that would trigger this issue is:\n\n```\napiVersion: \"cilium.io/v2\"\nkind: CiliumNetworkPolicy\nmetadata:\n name: \"l3-port-range-rule\"\nspec:\n endpointSelector:\n matchLabels:\n app: service\n ingress:\n - fromCIDR:\n - 192.168.60.0/24\n toPorts:\n - ports:\n - port: \"80\"\n endPort: 444\n protocol: TCP\n```\nand\n```\napiVersion: \"cilium.io/v2\"\nkind: CiliumNetworkPolicy\nmetadata:\n name: \"l7-port-range-rule\"\nspec:\n endpointSelector:\n matchLabels:\n app: service\n ingress:\n toPorts:\n - ports:\n - port: \"80\"\n protocol: TCP\n rules:\n http:\n - method: \"GET\"\n path: \"/public\"\n```\n\nIn the above example, requests would be permitted to all HTTP paths on matching endpoints, rather than just `GET` requests to the `/public` path as intentded by the `l7-port-range-rule` policy. In patched versions of Cilium, the `l7-port-range-rule` would take precedence over the `l3-port-range-rule`.\n\n### Patches\n\nThis issue is patched in https://github.com/cilium/cilium/pull/35150.\n\nThis issue affects Cilium v1.16 between v1.16.0 and v1.16.3 inclusive.\n\nThis issue is patched in Cilium v1.16.4.\n\n### Workarounds\n\nUsers with network policies that match the pattern described above can work around the issue by rewriting any policies that use port ranges to individually specify the ports permitted for traffic.\n\n### Acknowledgements\nThe Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to @jrajahalme for resolving this issue.\n\n### For more information\nIf you have any questions or comments about this advisory, please reach out on [Slack](https://docs.cilium.io/en/latest/community/community/#slack).\n\nIf you think you have found a vulnerability affecting Cilium, we strongly encourage you to report it to our security mailing list at [security@cilium.io](mailto:security@cilium.io). This is a private mailing list for the Cilium security team, and your report will be treated as top priority.\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/cilium/cilium" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.16.0" + }, + { + "fixed": "1.16.4" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/cilium/cilium/security/advisories/GHSA-xg58-75qf-9r67" + }, + { + "type": "WEB", + "url": "https://github.com/cilium/cilium/pull/35150" + }, + { + "type": "PACKAGE", + "url": "https://github.com/cilium/cilium" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-862" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-11-25T19:35:10Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json b/advisories/unreviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json deleted file mode 100644 index 8ab6857df9f..00000000000 --- a/advisories/unreviewed/2024/11/GHSA-pcx7-8hxg-j823/GHSA-pcx7-8hxg-j823.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-pcx7-8hxg-j823", - "modified": "2024-11-25T09:30:59Z", - "published": "2024-11-25T09:30:59Z", - "aliases": [ - "CVE-2024-9666" - ], - "details": "A vulnerability was found in the Keycloak Server. The Keycloak Server is vulnerable to a denial of service (DoS) attack due to improper handling of proxy headers. When Keycloak is configured to accept incoming proxy headers, it may accept non-IP values, such as obfuscated identifiers, without proper validation. This issue can lead to costly DNS resolution operations, which an attacker could exploit to tie up IO threads and potentially cause a denial of service.\nThe attacker must have access to send requests to a Keycloak instance that is configured to accept proxy headers, specifically when reverse proxies do not overwrite incoming headers, and Keycloak is configured to trust these headers.", - "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H" - } - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9666" - }, - { - "type": "WEB", - "url": "https://access.redhat.com/errata/RHSA-2024:10175" - }, - { - "type": "WEB", - "url": "https://access.redhat.com/errata/RHSA-2024:10176" - }, - { - "type": "WEB", - "url": "https://access.redhat.com/errata/RHSA-2024:10177" - }, - { - "type": "WEB", - "url": "https://access.redhat.com/errata/RHSA-2024:10178" - }, - { - "type": "WEB", - "url": "https://access.redhat.com/security/cve/CVE-2024-9666" - }, - { - "type": "WEB", - "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2317440" - } - ], - "database_specific": { - "cwe_ids": [ - "CWE-444" - ], - "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2024-11-25T08:15:10Z" - } -} \ No newline at end of file