ckan
Affected
- introduced
2.0, fixed2.9.10, introduced2.10.0, fixed2.10.3(ecosystem)
Fixed versions
2.9.10, 2.10.3
Fix
- Fixed version
2.9.10pip install --upgrade ckan==2.9.10 - Fixed version
2.10.3pip install --upgrade ckan==2.10.3
Advisory
Also known as: CVE-2023-50248, GHSA-7fgc-89cx-w8j5
Out of memory error when submitting the dataset form with a specially-crafted field
Impact
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 user needs to have permissions to create or edit datasets.
Patches
This vulnerability has been patched in CKAN 2.10.3 and 2.9.10
Medium Basis: CVSS v3 score 4.5, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
2.0, fixed 2.9.10, introduced 2.10.0, fixed 2.10.3 (ecosystem)2.9.10, 2.10.3
2.9.10pip install --upgrade ckan==2.9.102.10.3pip install --upgrade ckan==2.10.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0