Vulnerability · Published Dec 13, 2023 · Assigned by GitHub_M
CVE-2023-50248CKAN out of memory error when submitting the dataset form with a specially-crafted field
Medium 4.5
In plain English
A medium-severity security flaw in ckan from ckan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
CKAN is an open-source data management system for powering data hubs and data portals. Starting in version 2.0.0 and prior to versions 2.9.10 and 2.10.3, when submitting a POST request to the `/dataset/new` endpoint (including either the auth cookie or the `Authorization` header) with a specially-crafted field, an attacker can create an out-of-memory error in the hosting server. To trigger this error, the attacker need to have permissions to create or edit datasets. This vulnerability has been patched in CKAN 2.10.3 and 2.9.10.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | ckan | 2.9.10 | GHSA-7fgc-89cx-w8j5 |
| PyPI | ckan | 2.10.3 | GHSA-7fgc-89cx-w8j5 |
| PyPI | ckan | 2.10.3, 2.9.10 | PYSEC-2026-1249 |
Affected products (as reported)
Weakness: CWE-130 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/ckan/ckan/security/advisories/GHSA-7fgc-89cx-w8j5 x_refsource_CONFIRM
- https://github.com/ckan/ckan/commit/bd02018b65c5b81d7ede195d00d0fcbac3aa33be x_refsource_MISC