From f586c66e03868eec288f3ccf47942ca89478b812 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 17:43:13 +0000 Subject: [PATCH] Publish GHSA-7pq5-qcp6-mcww --- .../GHSA-7pq5-qcp6-mcww.json | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 advisories/github-reviewed/2025/02/GHSA-7pq5-qcp6-mcww/GHSA-7pq5-qcp6-mcww.json diff --git a/advisories/github-reviewed/2025/02/GHSA-7pq5-qcp6-mcww/GHSA-7pq5-qcp6-mcww.json b/advisories/github-reviewed/2025/02/GHSA-7pq5-qcp6-mcww/GHSA-7pq5-qcp6-mcww.json new file mode 100644 index 00000000000..01c12503a1e --- /dev/null +++ b/advisories/github-reviewed/2025/02/GHSA-7pq5-qcp6-mcww/GHSA-7pq5-qcp6-mcww.json @@ -0,0 +1,100 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-7pq5-qcp6-mcww", + "modified": "2025-02-05T17:41:33Z", + "published": "2025-02-05T17:41:33Z", + "aliases": [ + "CVE-2025-24372" + ], + "summary": "CKAN has an XSS vector in user uploaded images in group/org and user profiles", + "details": "### Impact\nUsing a specially crafted file, a user could potentially upload a file containing code that when executed could send arbitrary requests to the server. If that file was opened by an administrator, it could lead to escalation of privileges of the original submitter or other malicious actions. Users must have been registered to the site to exploit this vulnerability.\n\n### Patches\nThis vulnerability has been fixed in CKAN 2.10.7 and 2.11.2\n\n### Workarounds\nOn versions prior to CKAN 2.10.7 and 2.11.2, site maintainers can restrict the file types supported for uploading using the [ckan.upload.user.mimetypes](https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes) / [ckan.upload.user.types](https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types) and [ckan.upload.group.mimetypes](https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes) / [ckan.upload.group.types](https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types) config options.\nTo entirely disable file uploads you can use:\n\n```ini\nckan.upload.user.types = none\n```", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "ckan" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.10.7" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "ckan" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.11.0" + }, + { + "fixed": "2.11.2" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww" + }, + { + "type": "WEB", + "url": "https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8" + }, + { + "type": "WEB", + "url": "https://github.com/ckan/ckan/commit/a4fc5e06634ed51d653ab819a7efc8e62f816f68" + }, + { + "type": "WEB", + "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes" + }, + { + "type": "WEB", + "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types" + }, + { + "type": "WEB", + "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes" + }, + { + "type": "WEB", + "url": "https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types" + }, + { + "type": "PACKAGE", + "url": "https://github.com/ckan/ckan" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-79" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-02-05T17:41:33Z", + "nvd_published_at": null + } +} \ No newline at end of file