{"answers":{"affected":"2 open source packages ship an affected version, including urijs. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-1233 in the wild and no public exploit code.","fix":"Upgrade urijs to 1.19.11 or later.","what":"CVE-2022-1233 is a medium-severity vulnerability in medialize/uri.js, published on 4 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1233 and fix it if it is affected.\n\nWhat it is: CVE-2022-1233 is a medium-severity vulnerability in medialize/uri.js, published on 4 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1233 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- urijs (npm): affected all versions; fixed in 1.19.11\n- urijs (npm): affected all versions; fixed in 1.19.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-1233/ (Markdown: https://insights.sbomify.com/CVE-2022-1233/index.md)","id":"CVE-2022-1233","markdown":"https://insights.sbomify.com/CVE-2022-1233/index.md","name":"CVE-2022-1233","record":{"aliases":["GHSA-g694-m8vq-gv9h"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript URI library","requires_auth":"none","summary":"Attackers can exploit URL confusion in the uri.js library to bypass security checks, potentially leading to open redirects or other security issues.","user_interaction":"not_required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"uri.js","vendor":"uri.js_project"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-115","name":"Misinterpretation of Input"}],"description":"URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.","ecosystems":["npm"],"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":"URL Confusion When Scheme Not Supplied in medialize/uri.js","id":"CVE-2022-1233","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"open_redirect","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"XSS in livehelperchat in livehelperchat/livehelperchat","id":"CVE-2022-1234"},"packages":[{"ecosystem":"npm","fixed":["1.19.11"],"introduced":["0"],"last_affected":[],"package":"urijs","purl":null,"source":"GHSA-g694-m8vq-gv9h"},{"ecosystem":"npm","fixed":["1.19.11"],"introduced":["0"],"last_affected":[],"package":"urijs","purl":"pkg:npm/urijs","source":"GHSA-g694-m8vq-gv9h"}],"prev":{"headline":"Memory corruption in Chrome","id":"CVE-2022-1232"},"products":["medialize/uri.js"],"published":"2022-04-04","related":[{"cvss_score":8,"headline":"Open Redirect in medialize/uri.js","id":"CVE-2022-0868","kev_date_added":null,"published":"2022-03-06"},{"cvss_score":7.5,"headline":"URIjs Hostname spoofing via backslashes in URL","id":"CVE-2021-27516","kev_date_added":null,"published":"2021-02-21"},{"cvss_score":7.2,"headline":"CRHTLF can lead to invalid protocol extraction potentially leading to XSS in medialize/uri.js","id":"CVE-2022-1243","kev_date_added":null,"published":"2022-04-05"},{"cvss_score":6.5,"headline":"Hostname spoofing in URI.js","id":"CVE-2020-26291","kev_date_added":null,"published":"2020-12-30"},{"cvss_score":5.3,"headline":"Improper Input Validation in URI.js","id":"CVE-2022-24723","kev_date_added":null,"published":"2022-03-03"},{"cvss_score":5.3,"headline":"Open Redirect in medialize/URI.js","id":"CVE-2021-3647","kev_date_added":null,"published":"2021-07-16"}],"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":"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-02","vendors":["medialize"]},"summary":"Attackers can exploit URL confusion in the uri.js library to bypass security checks, potentially leading to open redirects or other security issues.","url":"https://insights.sbomify.com/CVE-2022-1233/"}