{"answers":{"affected":"2 open source packages ship an affected version, including cordova-android. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-6799 in the wild and no public exploit code.","fix":"Upgrade cordova-android to 6.0.0 or later.","what":"CVE-2016-6799 is a high-severity vulnerability in Apache Cordova Android, published on 9 May 2017."},"fix_prompt":"Check this codebase for CVE-2016-6799 and fix it if it is affected.\n\nWhat it is: CVE-2016-6799 is a high-severity vulnerability in Apache Cordova Android, published on 9 May 2017. \nExploitation: There is no known exploitation of CVE-2016-6799 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cordova-android (npm): affected all versions; fixed in 6.0.0\n- cordova-android (npm): affected all versions; fixed in 6.0.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-2016-6799/ (Markdown: https://insights.sbomify.com/CVE-2016-6799/index.md)","id":"CVE-2016-6799","markdown":"https://insights.sbomify.com/CVE-2016-6799/index.md","name":"CVE-2016-6799","record":{"aliases":["GHSA-gwpf-62xp-vrg6"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"cordova","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"Product: Apache Cordova Android 5.2.2 and earlier. The application calls methods of the Log class. Messages passed to these methods (Log.v(), Log.d(), Log.i(), Log.w(), and Log.e()) are stored in a series of circular buffers on the device. By default, a maximum of four 16 KB rotated logs are kept in addition to the current log. The logged data can be read using Logcat on the device. When using platforms prior to Android 4.1 (Jelly Bean), the log data is not sandboxed per application; any application installed on the device has the capability to read data logged by other applications.","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":"Information Exposure in cordova-android","id":"CVE-2016-6799","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2016"},"n_packages":2,"n_references":2,"next":{"headline":"Cross-site scripting in Apache OFBiz","id":"CVE-2016-6800"},"packages":[{"ecosystem":"npm","fixed":["6.0.0"],"introduced":["0"],"last_affected":[],"package":"cordova-android","purl":null,"source":"GHSA-gwpf-62xp-vrg6"},{"ecosystem":"npm","fixed":["6.0.0"],"introduced":["0"],"last_affected":[],"package":"cordova-android","purl":"pkg:npm/cordova-android","source":"GHSA-gwpf-62xp-vrg6"}],"prev":{"headline":"XML External Entity Reference in Apache Sling","id":"CVE-2016-6798"},"products":["Apache Cordova Android"],"published":"2017-05-09","related":[{"cvss_score":7.1,"headline":"System Information Library for Node.JS Command Injection","id":"CVE-2021-21315","kev_date_added":"2022-01-18","published":"2021-02-16"},{"cvss_score":9.8,"headline":"Cross-site scripting in n/a","id":"CVE-2014-0073","kev_date_added":null,"published":"2017-10-30"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2014-0072","kev_date_added":null,"published":"2017-10-30"},{"cvss_score":7.4,"headline":"Supply chain in Apache Cordova Android","id":"CVE-2017-3160","kev_date_added":null,"published":"2018-02-01"},{"cvss_score":6.4,"headline":"Other in n/a","id":"CVE-2014-3500","kev_date_added":null,"published":"2014-11-15"},{"cvss_score":5.3,"headline":"Misconfiguration in n/a","id":"CVE-2015-1835","kev_date_added":null,"published":"2017-10-27"}],"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-06","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2016-6799/"}