Publish GHSA-7pq5-qcp6-mcww

This commit is contained in:
advisory-database[bot]
2025-02-05 17:43:13 +00:00
parent c1b27f84e6
commit f586c66e03
@@ -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
}
}