{"answers":{"affected":"3 open source packages ship an affected version, including horizon. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-45582 in the wild and no public exploit code.","fix":"Upgrade horizon to 20.2.0 or later.","what":"CVE-2022-45582 is a medium-severity vulnerability in n/a, published on 22 Aug 2023. 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-45582 and fix it if it is affected.\n\nWhat it is: CVE-2022-45582 is a medium-severity vulnerability in n/a, published on 22 Aug 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-45582 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- horizon (PyPI): affected from 19.4.0; fixed in 20.2.0\n- horizon (PyPI): affected from 19.4.0; fixed in 20.2.0\n- horizon (PyPI): affected from 19.4.0; fixed in 20.2.0\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-45582/ (Markdown: https://insights.sbomify.com/CVE-2022-45582/index.md)","id":"CVE-2022-45582","markdown":"https://insights.sbomify.com/CVE-2022-45582/index.md","name":"CVE-2022-45582","record":{"aliases":["DEBIAN-CVE-2022-45582","DLA-3678-1","GHSA-5pv6-rprw-82wv","PYSEC-2023-153","UBUNTU-CVE-2022-45582"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Horizon","requires_auth":"none","summary":"Attackers can redirect users to malicious sites via the success_url parameter in the Horizon Web Dashboard.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"horizon","vendor":"openstack"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Open Redirect vulnerability in Horizon Web Dashboard 19.4.0 thru 20.1.4 via the success_url parameter.","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":"Horizon Web Dashboard Open Redirect vulnerability","id":"CVE-2022-45582","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":"Denial of service in n/a","id":"CVE-2022-45586"},"packages":[{"ecosystem":"PyPI","fixed":["20.2.0"],"introduced":["19.4.0"],"last_affected":[],"package":"horizon","purl":null,"source":"GHSA-5pv6-rprw-82wv"},{"ecosystem":"PyPI","fixed":["20.2.0"],"introduced":["19.4.0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"GHSA-5pv6-rprw-82wv"},{"ecosystem":"PyPI","fixed":["20.2.0"],"introduced":["19.4.0"],"last_affected":[],"package":"horizon","purl":"pkg:pypi/horizon","source":"PYSEC-2023-153"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2022-45564"},"products":["n/a"],"published":"2023-08-22","related":[{"cvss_score":6.8,"headline":"OpenStack Horizon Session Fixation","id":"CVE-2012-2144","kev_date_added":null,"published":"2012-06-05"},{"cvss_score":6,"headline":"OpenStack Horizon RC file generation does not escape special characters in project names","id":"CVE-2026-55748","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":5.8,"headline":"Open redirect in n/a","id":"CVE-2012-3540","kev_date_added":null,"published":"2012-09-05"},{"cvss_score":5.5,"headline":"Auth bypass in n/a","id":"CVE-2013-4471","kev_date_added":null,"published":"2014-05-14"},{"cvss_score":5.3,"headline":"OpenStack Horizon has Incorrect Behavior Order","id":"CVE-2026-43002","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":4.8,"headline":"OpenStack Horizon Cross-site Scripting (XSS)","id":"CVE-2017-7400","kev_date_added":null,"published":"2017-04-03"}],"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":["n/a"]},"summary":"Attackers can redirect users to malicious sites via the success_url parameter in the Horizon Web Dashboard.","url":"https://insights.sbomify.com/CVE-2022-45582/"}