{"id":"CVE-2024-27097","published":"2024-03-13T20:40:50Z","modified":"2024-08-21T15:05:52Z","title":"Potential log injection in reset user endpoint in ckan","vendor":"ckan","product":"ckan","tier":"tail","description":{"text":"A user endpoint didn't perform filtering on an incoming parameter, which was added directly to the application log. This could lead to an attacker injecting false log entries or corrupt the log file format. This has been fixed in the CKAN versions 2.9.11 and 2.10.4. Users are advised to upgrade. Users unable to upgrade should override the `/user/reset` endpoint to filter the `id` parameter in order to exclude newlines.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00557,"percentile":0.40125,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-8g38-3m6v-232j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":8.03},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"ckan","affectedVersions":[{"vendor":"ckan","product":"ckan","versions":[">= 2.0, < 2.9.11",">= 2.10.0, < 2.10.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-21T15:05:35.728864Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ckan","vulnerableRanges":["<2.9.11",">=2.10.0, <2.10.4"],"patched":["2.9.11","2.10.4"],"from":["GHSA-8g38-3m6v-232j","PYSEC-2026-1251"],"provenance":"source"}],"summary":{"text":"The user reset endpoint in CKAN, the open-source data portal platform, fails to filter an incoming parameter before writing it to the application log, which allows log content to be manipulated. An unauthenticated remote attacker can exploit this by sending a crafted request to the reset endpoint, but it requires a user to interact with the crafted request (such as clicking a link) to inject false log entries or corrupt the log file format.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:03Z"},"euvd":{"id":"EUVD-2024-0874","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ckan-cve-2024-27097","children":[{"from":"CVE-2024-27097","to":"CVE-2025-64100","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ckan/views/user.py"],"commits":["https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c","https://github.com/ckan/ckan/commit/5fa133e7e9019573066455b5d442e93c62b3fc93","https://github.com/ckan/ckan/commit/c2fe437f88be850a6edf7a32470772428819fab5"],"basis":"rarely changed file"}]},{"from":"CVE-2024-27097","to":"CVE-2026-104773","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ckan/views/user.py"],"commits":["https://github.com/ckan/ckan/commit/81b56c55e5e3651d7fcf9642cd5a489a9b62212c","https://github.com/ckan/ckan/commit/5fa133e7e9019573066455b5d442e93c62b3fc93","https://github.com/ckan/ckan/commit/6eae4e9c430e163b9d6cc75a3fd2ca82e79d80f6","https://github.com/ckan/ckan/commit/8f8e8b587461b66120ec7a85c17a34ecea213f57"],"basis":"shared function","functions":["post"]}]}],"packageHistory":[{"cve":"CVE-2021-25967","published":"2021-12-01","fixed":"2.10.0","kev":false},{"cve":"CVE-2023-32321","published":"2023-05-26","fixed":"2.10.1","kev":false},{"cve":"CVE-2023-50248","published":"2023-12-13","fixed":"2.10.3","kev":false,"link":{"from":"CVE-2023-50248","to":"CVE-2024-27097","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ckan","fromFixed":"2.9.10","toFixed":"2.9.11","daysApart":91}]}},{"cve":"CVE-2024-27097","published":"2024-03-13","fixed":"2.10.4","kev":false},{"cve":"CVE-2024-41674","published":"2024-08-21","fixed":"2.10.5","kev":false,"link":{"from":"CVE-2024-27097","to":"CVE-2024-41674","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ckan","fromFixed":"2.10.4","toFixed":"2.10.5","daysApart":161}]}},{"cve":"CVE-2024-41675","published":"2024-08-21","fixed":"2.10.5","kev":false,"link":{"from":"CVE-2024-27097","to":"CVE-2024-41675","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ckan","fromFixed":"2.10.4","toFixed":"2.10.5","daysApart":161}]}},{"cve":"CVE-2024-43371","published":"2024-08-21","fixed":"2.10.5","kev":false,"link":{"from":"CVE-2024-27097","to":"CVE-2024-43371","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ckan","fromFixed":"2.10.4","toFixed":"2.10.5","daysApart":161}]}}],"package":"PyPI:ckan"}}