{"answers":{"affected":"3 open source packages ship an affected version, including django-spirit. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0869 exists.","fix":"Upgrade django-spirit to 0.12.3 or later.","what":"CVE-2022-0869 is a medium-severity vulnerability in nitely/spirit, published on 6 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-0869 and fix it if it is affected.\n\nWhat it is: CVE-2022-0869 is a medium-severity vulnerability in nitely/spirit, published on 6 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0869 exists.\n\nAffected packages and fixed versions:\n- django-spirit (PyPI): affected all versions; fixed in 0.12.3\n- django-spirit (PyPI): affected all versions; fixed in 0.12.3\n- django-spirit (PyPI): affected all versions; fixed in 0.12.3\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-0869/ (Markdown: https://insights.sbomify.com/CVE-2022-0869/index.md)","id":"CVE-2022-0869","markdown":"https://insights.sbomify.com/CVE-2022-0869/index.md","name":"CVE-2022-0869","record":{"aliases":["GHSA-5p9j-w2wx-qx4c","PYSEC-2026-631"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web framework","requires_auth":"none","summary":"An attacker can redirect users to malicious sites via open redirect vulnerabilities in the Spirit web framework.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"spirit","vendor":"spirit-project"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Multiple Open Redirect in GitHub repository nitely/spirit prior to 0.12.3.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2022/CVE-2022-0869.yaml","stars":null,"title":"nitely/spirit 0.12.3 - Open Redirect"}],"tier":"weaponised"},"has_fix":true,"headline":"Multiple Open Redirect in nitely/spirit","id":"CVE-2022-0869","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"open_redirect","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Server-Side Request Forgery (SSRF) in gogs/gogs","id":"CVE-2022-0870"},"packages":[{"ecosystem":"PyPI","fixed":["0.12.3"],"introduced":["0"],"last_affected":[],"package":"django-spirit","purl":null,"source":"GHSA-5p9j-w2wx-qx4c"},{"ecosystem":"PyPI","fixed":["0.12.3"],"introduced":["0"],"last_affected":[],"package":"django-spirit","purl":"pkg:pypi/django-spirit","source":"GHSA-5p9j-w2wx-qx4c"},{"ecosystem":"PyPI","fixed":["0.12.3"],"introduced":["0"],"last_affected":[],"package":"django-spirit","purl":"pkg:pypi/django-spirit","source":"PYSEC-2026-631"}],"prev":{"headline":"Open Redirect in medialize/uri.js","id":"CVE-2022-0868"},"products":["nitely/spirit"],"published":"2022-03-06","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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["nitely"]},"summary":"An attacker can redirect users to malicious sites via open redirect vulnerabilities in the Spirit web framework.","url":"https://insights.sbomify.com/CVE-2022-0869/"}