{"answers":{"affected":"3 open source packages ship an affected version, including django-termsandconditions. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-4589 in the wild and no public exploit code.","fix":"Upgrade django-termsandconditions to 2.0.11 or later.","what":"CVE-2022-4589 is a medium-severity vulnerability in cyface Terms and Conditions Module, published on 17 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-4589 and fix it if it is affected.\n\nWhat it is: CVE-2022-4589 is a medium-severity vulnerability in cyface Terms and Conditions Module, published on 17 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-4589 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- django-termsandconditions (PyPI): affected all versions; fixed in 2.0.11\n- django-termsandconditions (PyPI): affected all versions; fixed in 2.0.11\n- django-termsandconditions (PyPI): affected all versions; fixed in 2.0.11\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-4589/ (Markdown: https://insights.sbomify.com/CVE-2022-4589/index.md)","id":"CVE-2022-4589","markdown":"https://insights.sbomify.com/CVE-2022-4589/index.md","name":"CVE-2022-4589","record":{"aliases":["GHSA-6rmf-cv6p-4h27","PYSEC-2026-805"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Django terms module","requires_auth":"low_privilege","summary":"Attackers can redirect users to malicious sites via the returnTo parameter in the cyface Terms and Conditions Module.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"django_terms_and_conditions","vendor":"django_terms_and_conditions_project"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"A vulnerability has been found in cyface Terms and Conditions Module up to 2.0.9 and classified as problematic. Affected by this vulnerability is the function returnTo of the file termsandconditions/views.py. The manipulation leads to open redirect. The attack can be launched remotely. Upgrading to version 2.0.10 is able to address this issue. The name of the patch is 03396a1c2e0af95e12a45c5faef7e47a4b513e1a. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216175.","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":"cyface Terms and Conditions Module views.py returnTo redirect","id":"CVE-2022-4589","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"open_redirect","year":"2022"},"n_packages":3,"n_references":4,"next":{"headline":"mschaef toto Todo List cross site scripting","id":"CVE-2022-4590"},"packages":[{"ecosystem":"PyPI","fixed":["2.0.11"],"introduced":["0"],"last_affected":[],"package":"django-termsandconditions","purl":null,"source":"GHSA-6rmf-cv6p-4h27"},{"ecosystem":"PyPI","fixed":["2.0.11"],"introduced":["0"],"last_affected":[],"package":"django-termsandconditions","purl":"pkg:pypi/django-termsandconditions","source":"GHSA-6rmf-cv6p-4h27"},{"ecosystem":"PyPI","fixed":["2.0.11"],"introduced":["0"],"last_affected":[],"package":"django-termsandconditions","purl":"pkg:pypi/django-termsandconditions","source":"PYSEC-2026-805"}],"prev":{"headline":"Boston Sleep slice Layout cross site scripting","id":"CVE-2022-4588"},"products":["Terms and Conditions Module"],"published":"2022-12-17","related":[],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["cyface"]},"summary":"Attackers can redirect users to malicious sites via the returnTo parameter in the cyface Terms and Conditions Module.","url":"https://insights.sbomify.com/CVE-2022-4589/"}