See how ckan compares to other vendors in security performance
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.119, there is one missing normalization-and-classification pass in isBlockedIp. The affected ranges (64:ff9b::/96, 64:ff9b:1::/48, 2002::/16, ::/96) are not independently fixable — they are the same gap seen from different prefixes, and any patch that classifies a parsed address correctly closes all of them at once, while any patch that appends one prefix to the string-matching chain leaves the rest (and the non-canonical spellings of each) open. Because isBlockedIp() is the single shared decision point for BOTH the literal-URL guard (validateServerUrl) and the connection-time DNS-resolution guard (createSsrfSafeLookup / assertHostnameResolvesSafe), the gap applied to both halves: an attacker could pass the address as an IPv6 literal, or as a hostname whose AAAA record resolves to one. This issue has been patched in version 0.4.119.
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.109, ckanlistresources (with checksourceportal, default on) derives the destination of a server-side HTTP request from response data rather than from caller input. The host, port and scheme are taken from the url field of a dataset's resources — metadata controlled by whoever published the dataset — so a caller who merely lists the resources of a malicious dataset causes the server to issue requests to an attacker-chosen origin. This is a single defect: an outbound destination is constructed from untrusted data without being constrained to the trust boundary the rest of the server enforces (serverurl / CKANALLOWEDDOMAINS). This issue has been patched in version 0.4.109.
Description
Web user registration form is vulnerable to session fixation if the site is configured with server-side session storage (CKAN uses cookie-based session storage by default). The attacker would need to either set a cookie on the victim's browser or steal the victim's currently valid session. Session identifiers are now regenerated after registration.
Patches
This vulnerability has been fixed in CKAN 2.10.11, 2.11.6 and 2.12.0
Workarounds
switch to cookie-based session storage (the default) or disable web user registration by setting ckan.auth.createuserviaweb to false (the default)
Description
Web user registration form is vulnerable to session fixation if the site is configured with server-side session storage (CKAN uses cookie-based session storage by default). The attacker would need to either set a cookie on the victim's browser or steal the victim's currently valid session. Session identifiers are now regenerated after registration.
Patches
This vulnerability has been fixed in CKAN 2.10.11, 2.11.6 and 2.12.0
Workarounds
switch to cookie-based session storage (the default) or disable web user registration by setting ckan.auth.createuserviaweb to false (the default)
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, a vulnerability in datastoresearchsql allowed attackers to bypass authorization in order to gain access to private resources and PostgreSQL system information This vulnerability is fixed in 2.10.10 and 2.11.5.
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.10 and 2.11.5, the configured SMTP server may be spoofed with any certificate (e.g. self-signed), leaving credentials and all emails sent open to MITM attacks. This vulnerability is fixed in 2.10.10 and 2.11.5.
Impact
Session ids could be fixed by an attacker if the site is configured with server-side session storage (CKAN uses cookie-based session storage by default). The attacker would need to either set a cookie on the victim's browser or steal the victim's currently valid session. Session identifiers are now regenerated after each login.
Patches This vulnerability has been fixed in CKAN 2.10.9 and 2.11.4
References https://en.wikipedia.org/wiki/Sessionfixation
Impact
The helpers.markdownextract() function did not perform sufficient sanitization of input data before wrapping in an HTML literal element. This helper is used to render user-provided data on dataset, resource, organization or group pages (plus any page provided by an extension that used that helper function), leading to a potential XSS vector.
Patches This vulnerability has been fixed in CKAN 2.10.9 and 2.11.4
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Using 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. This vulnerability has been fixed in CKAN 2.10.7 and 2.11.2. Users are advised to upgrade. On 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 / ckan.upload.user.types and ckan.upload.group.mimetypes / ckan.upload.group.types config options. To entirely disable file uploads users can use: ckan.upload.user.types = none