{"answers":{"affected":"2 open source packages ship an affected version, including cordova-plugin-ionic-webview. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-16202 in the wild and no public exploit code.","fix":"Upgrade cordova-plugin-ionic-webview to 2.2.0 or later.","what":"CVE-2018-16202 is a high-severity vulnerability in npm, Inc. cordova-plugin-ionic-webview, published on 9 Jan 2019."},"fix_prompt":"Check this codebase for CVE-2018-16202 and fix it if it is affected.\n\nWhat it is: CVE-2018-16202 is a high-severity vulnerability in npm, Inc. cordova-plugin-ionic-webview, published on 9 Jan 2019. \nExploitation: There is no known exploitation of CVE-2018-16202 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cordova-plugin-ionic-webview (npm): affected all versions; fixed in 2.2.0\n- cordova-plugin-ionic-webview (npm): affected all versions; fixed in 2.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-2018-16202/ (Markdown: https://insights.sbomify.com/CVE-2018-16202/index.md)","id":"CVE-2018-16202","markdown":"https://insights.sbomify.com/CVE-2018-16202/index.md","name":"CVE-2018-16202","record":{"aliases":["GHSA-xwjh-cp99-cj8q"],"analysis":null,"analysis_generated_by":null,"assigner":"jpcert","cpe":[{"product":"ionic_web_view","vendor":"ionicframework"}],"cvss":{"score":8.6,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Directory traversal vulnerability in cordova-plugin-ionic-webview versions prior to 2.2.0 (not including 2.0.0-beta.0, 2.0.0-beta.1, 2.0.0-beta.2, and 2.1.0-0) allows remote attackers to access arbitrary files via unspecified vectors.","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":"Path Traversal in cordova-plugin-ionic-webview","id":"CVE-2018-16202","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2018"},"n_packages":2,"n_references":4,"next":{"headline":"Auth bypass in PgpoolAdmin","id":"CVE-2018-16203"},"packages":[{"ecosystem":"npm","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"cordova-plugin-ionic-webview","purl":null,"source":"GHSA-xwjh-cp99-cj8q"},{"ecosystem":"npm","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"cordova-plugin-ionic-webview","purl":"pkg:npm/cordova-plugin-ionic-webview","source":"GHSA-xwjh-cp99-cj8q"}],"prev":{"headline":"Hardcoded credentials in Toshiba Home gateway HEM-GW16A and Toshiba Home gateway HEM-GW26A","id":"CVE-2018-16201"},"products":["cordova-plugin-ionic-webview"],"published":"2019-01-09","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":"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-05","vendors":["npm, Inc."]},"summary":null,"url":"https://insights.sbomify.com/CVE-2018-16202/"}