{"answers":{"affected":"3 open source packages ship an affected version, including ckan. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-43685 in the wild and no public exploit code.","fix":"Upgrade ckan to 2.9.7 or later.","what":"CVE-2022-43685 is a high-severity authentication bypass vulnerability in n/a, published on 22 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-43685 and fix it if it is affected.\n\nWhat it is: CVE-2022-43685 is a high-severity authentication bypass vulnerability in n/a, published on 22 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-43685 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ckan (PyPI): affected all versions; fixed in 2.9.7\n- ckan (PyPI): affected all versions; fixed in 2.9.7\n- ckan (PyPI): affected all versions; fixed in 2.9.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-43685/ (Markdown: https://insights.sbomify.com/CVE-2022-43685/index.md)","id":"CVE-2022-43685","markdown":"https://insights.sbomify.com/CVE-2022-43685/index.md","name":"CVE-2022-43685","record":{"aliases":["GHSA-m2xp-jxfg-qq6g","PYSEC-2022-42987"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"CKAN data portal","requires_auth":"low_privilege","summary":"Unauthenticated attackers can take over existing accounts, including superusers, by sending a user ID via HTTP POST in CKAN.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ckan","vendor":"okfn"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is sent via an HTTP POST request. This allows a user to take over an existing account including superuser accounts.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"CKAN contains Improper Authentication leading to account takeover","id":"CVE-2022-43685","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Concrete CMS vulnerable to Uncontrolled Resource Consumption leading to DoS","id":"CVE-2022-43686"},"packages":[{"ecosystem":"PyPI","fixed":["2.9.7"],"introduced":["0"],"last_affected":[],"package":"ckan","purl":null,"source":"GHSA-m2xp-jxfg-qq6g"},{"ecosystem":"PyPI","fixed":["2.9.7"],"introduced":["0"],"last_affected":[],"package":"ckan","purl":"pkg:pypi/ckan","source":"GHSA-m2xp-jxfg-qq6g"},{"ecosystem":"PyPI","fixed":["2.9.7"],"introduced":["0"],"last_affected":[],"package":"ckan","purl":"pkg:pypi/ckan","source":"PYSEC-2022-42987"}],"prev":{"headline":"ACL bypass in Reporting functionality","id":"CVE-2022-43684"},"products":["n/a"],"published":"2022-11-22","related":[{"cvss_score":9.8,"headline":"CKAN remote code execution and private information access via crafted resource ids","id":"CVE-2023-32321","kev_date_added":null,"published":"2023-05-26"},{"cvss_score":8.8,"headline":"Excessive permissions for ckan user","id":"CVE-2023-32696","kev_date_added":null,"published":"2023-05-30"},{"cvss_score":8.6,"headline":"CKAN is vulnerable to session secret shared across instances using Docker images","id":"CVE-2023-22746","kev_date_added":null,"published":"2023-02-03"},{"cvss_score":8.3,"headline":"CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`","id":"CVE-2026-42031","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":6.8,"headline":"CKAN has a Cross-site Scripting vector in the Datatables view plugin","id":"CVE-2024-41675","kev_date_added":null,"published":"2024-08-21"},{"cvss_score":6.7,"headline":"CKAN: Unauthenticated Authorization Bypass in `datastore_search_sql`","id":"CVE-2026-42032","kev_date_added":null,"published":"2026-05-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-29","vendors":["n/a"]},"summary":"Unauthenticated attackers can take over existing accounts, including superusers, by sending a user ID via HTTP POST in CKAN.","url":"https://insights.sbomify.com/CVE-2022-43685/"}