diff --git a/advisories/github-reviewed/2024/03/GHSA-7r3h-4ph8-w38g/GHSA-7r3h-4ph8-w38g.json b/advisories/github-reviewed/2024/03/GHSA-7r3h-4ph8-w38g/GHSA-7r3h-4ph8-w38g.json new file mode 100644 index 00000000000..81756e7c38f --- /dev/null +++ b/advisories/github-reviewed/2024/03/GHSA-7r3h-4ph8-w38g/GHSA-7r3h-4ph8-w38g.json @@ -0,0 +1,67 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-7r3h-4ph8-w38g", + "modified": "2024-03-28T17:08:10Z", + "published": "2024-03-28T17:08:10Z", + "aliases": [ + "CVE-2024-28233" + ], + "summary": "Cross site scripting (XSS) in JupyterHub via Self-XSS leveraged by Cookie Tossing", + "details": "### Impact\n\nAffected configurations:\n\n- Single-origin JupyterHub deployments\n- JupyterHub deployments with user-controlled applications running on subdomains or peer subdomains of either the Hub or a single-user server.\n\nBy tricking a user into visiting a malicious subdomain, the attacker can achieve an XSS directly affecting the former's session. More precisely, in the context of JupyterHub, this XSS could achieve the following:\n\n- Full access to JupyterHub API and user's single-user server, e.g.\n - Create and exfiltrate an API Token\n - Exfiltrate all files hosted on the user's single-user server: notebooks, images, etc.\n - Install malicious extensions. They can be used as a backdoor to silently regain access to victim's session anytime.\n\n### Patches\n\nTo prevent cookie-tossing:\n\n- Upgrade to JupyterHub 4.1 (both hub and user environment)\n- enable per-user domains via `c.JupyterHub.subdomain_host = \"https://mydomain.example.org\"`\n- set `c.JupyterHub.cookie_host_prefix_enabled = True` to enable domain-locked cookies\n\nor, if available (applies to earlier JupyterHub versions):\n\n- deploy jupyterhub on its own domain, not shared with any other services\n- enable per-user domains via `c.JupyterHub.subdomain_host = \"https://mydomain.example.org\"`", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "jupyterhub" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "4.1.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-7r3h-4ph8-w38g" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28233" + }, + { + "type": "WEB", + "url": "https://github.com/jupyterhub/jupyterhub/commit/e2798a088f5ad45340fe79cdf1386198e664f77f" + }, + { + "type": "PACKAGE", + "url": "https://github.com/jupyterhub/jupyterhub" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-352", + "CWE-565", + "CWE-79" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-03-28T17:08:10Z", + "nvd_published_at": "2024-03-27T19:15:48Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/03/GHSA-gp8g-f42f-95q2/GHSA-gp8g-f42f-95q2.json b/advisories/github-reviewed/2024/03/GHSA-gp8g-f42f-95q2/GHSA-gp8g-f42f-95q2.json new file mode 100644 index 00000000000..7b0610dcf0c --- /dev/null +++ b/advisories/github-reviewed/2024/03/GHSA-gp8g-f42f-95q2/GHSA-gp8g-f42f-95q2.json @@ -0,0 +1,203 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-gp8g-f42f-95q2", + "modified": "2024-03-28T17:07:32Z", + "published": "2024-03-28T17:07:32Z", + "aliases": [ + "CVE-2024-29892" + ], + "summary": "ZITADEL's actions can overload reserved claims", + "details": "### Impact\nUnder certain circumstances an action could set [reserved claims](https://zitadel.com/docs/apis/openidoauth/claims#reserved-claims) managed by ZITADEL.\n\nFor example it would be possible to set the claim `urn:zitadel:iam:user:resourceowner:name`\n\n```json\n{\"urn:zitadel:iam:user:resourceowner:name\": \"ACME\"}\n```\n\nif it was not set by ZITADEL itself.\n\nTo compensate for this we introduced a protection that does prevent actions from changing claims that start with `urn:zitadel:iam`\n\n### Patches\n2.x versions are fixed on >= [2.48.3](https://github.com/zitadel/zitadel/releases/tag/v2.48.3)\n2.47.x versions are fixed on >= [2.47.8](https://github.com/zitadel/zitadel/releases/tag/v2.47.8)\n2.46.x versions are fixed on >= [2.46.5](https://github.com/zitadel/zitadel/releases/tag/v2.46.5)\n2.45.x versions are fixed on >= [2.45.5](https://github.com/zitadel/zitadel/releases/tag/v2.45.5)\n2.44.x versions are fixed on >= [2.44.7](https://github.com/zitadel/zitadel/releases/tag/v2.44.7)\n2.43.x versions are fixed on >= [2.43.11](https://github.com/zitadel/zitadel/releases/tag/v2.43.11)\n2.42.x versions are fixed on >= [2.42.17](https://github.com/zitadel/zitadel/releases/tag/v2.42.17)\n\n### Workarounds\nNo workaround available since a patch is available\n\n### Credits\nMany thanks to @schettn whose disclosure of another topic lead us to find this issue.\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.42.17" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.43.0" + }, + { + "fixed": "2.43.11" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.44.0" + }, + { + "fixed": "2.44.7" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.45.0" + }, + { + "fixed": "2.45.5" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.46.0" + }, + { + "fixed": "2.46.5" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.47.0" + }, + { + "fixed": "2.47.8" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.48.0" + }, + { + "fixed": "2.48.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-gp8g-f42f-95q2" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-29892" + }, + { + "type": "PACKAGE", + "url": "https://github.com/zitadel/zitadel" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.42.17" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.43.11" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.44.7" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.45.5" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.46.5" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.47.8" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.48.3" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-863" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-03-28T17:07:32Z", + "nvd_published_at": "2024-03-27T20:15:08Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/03/GHSA-hr5w-cwwq-2v4m/GHSA-hr5w-cwwq-2v4m.json b/advisories/github-reviewed/2024/03/GHSA-hr5w-cwwq-2v4m/GHSA-hr5w-cwwq-2v4m.json new file mode 100644 index 00000000000..25808366444 --- /dev/null +++ b/advisories/github-reviewed/2024/03/GHSA-hr5w-cwwq-2v4m/GHSA-hr5w-cwwq-2v4m.json @@ -0,0 +1,203 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-hr5w-cwwq-2v4m", + "modified": "2024-03-28T17:07:33Z", + "published": "2024-03-28T17:07:33Z", + "aliases": [ + "CVE-2024-29891" + ], + "summary": "ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass", + "details": "### Impact\n\nZITADEL users can upload their own avatar image and various image types are allowed.\n\nDue to a missing check, an attacker could upload HTML and pretend it is an image to gain access to the victim's account in certain scenarios.\nA possible victim would need to directly open the supposed image in the browser, where a session in ZITADEL needs to be active for this exploit to work.\n\nThe exploit could only be reproduced if the victim was using Firefox. Chrome, Safari as well as Edge did not execute the code.\n\n### Patches\n\n2.x versions are fixed on >= [2.48.3](https://github.com/zitadel/zitadel/releases/tag/v2.48.3)\n2.47.x versions are fixed on >= [2.47.8](https://github.com/zitadel/zitadel/releases/tag/v2.47.8)\n2.46.x versions are fixed on >= [2.46.5](https://github.com/zitadel/zitadel/releases/tag/v2.46.5)\n2.45.x versions are fixed on >= [2.45.5](https://github.com/zitadel/zitadel/releases/tag/v2.45.5)\n2.44.x versions are fixed on >= [2.44.7](https://github.com/zitadel/zitadel/releases/tag/v2.44.7)\n2.43.x versions are fixed on >= [2.43.11](https://github.com/zitadel/zitadel/releases/tag/v2.43.11)\n2.42.x versions are fixed on >= [2.42.17](https://github.com/zitadel/zitadel/releases/tag/v2.42.17)\n\nZITADEL recommends upgrading to the latest versions available in due course.\n\n### Workarounds\n\nThere is no workaround since a patch is already available.\n\n### References\n\nNone\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)\n\n### Credits\n\nThanks to Amit Laish – GE Vernova for finding and reporting the vulnerability.\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.42.17" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.43.0" + }, + { + "fixed": "2.43.11" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.44.0" + }, + { + "fixed": "2.44.7" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.45.0" + }, + { + "fixed": "2.45.5" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.46.0" + }, + { + "fixed": "2.46.5" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.47.0" + }, + { + "fixed": "2.47.8" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/zitadel/zitadel" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.48.0" + }, + { + "fixed": "2.48.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-29891" + }, + { + "type": "PACKAGE", + "url": "https://github.com/zitadel/zitadel" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.42.17" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.43.11" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.44.7" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.45.5" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.46.5" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.47.8" + }, + { + "type": "WEB", + "url": "https://github.com/zitadel/zitadel/releases/tag/v2.48.3" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-434" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2024-03-28T17:07:33Z", + "nvd_published_at": "2024-03-27T20:15:07Z" + } +} \ No newline at end of file