{"answers":{"affected":"1 open source package ship an affected version, including roundcube. It affects 3 products.","exploited":"There is no known exploitation of CVE-2020-12640 in the wild and no public exploit code.","fix":"Upgrade roundcube to a fixed version for your release line: 1.2.10, 1.3.11 or 1.4.4.","what":"CVE-2020-12640 is a critical path traversal vulnerability in Opensuse Backports Sle, published on 4 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-12640 and fix it if it is affected.\n\nWhat it is: CVE-2020-12640 is a critical path traversal vulnerability in Opensuse Backports Sle, published on 4 May 2020. 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-2020-12640 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- roundcube (Bitnami): affected from 1.2.0; fixed in 1.2.10, 1.3.11, 1.4.4\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-2020-12640/ (Markdown: https://insights.sbomify.com/CVE-2020-12640/index.md)","id":"CVE-2020-12640","markdown":"https://insights.sbomify.com/CVE-2020-12640/index.md","name":"CVE-2020-12640","record":{"aliases":["BIT-roundcube-2020-12640","DEBIAN-CVE-2020-12640","GHSA-j63m-cchh-gcjv","UBUNTU-CVE-2020-12640"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Roundcube Webmail","requires_auth":"none","summary":"Attackers can execute code and read local files via directory traversal in plugin names, affecting Roundcube Webmail users.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"backports_sle","vendor":"opensuse"},{"product":"leap","vendor":"opensuse"},{"product":"webmail","vendor":"roundcube"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plugin name to rcube_plugin_api.php.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2024-04-13","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-04-13T15:37:14Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/CVE-2020-12640","stars":0,"title":"CVE-2020-12640: Local PHP File Inclusion via \"Plugin Value\" in Roundcube Webmail"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2020-12640","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"opensuse:backports_sle","products":["opensuse:backports_sle","opensuse:leap","roundcube:webmail"],"type":"path_traversal","year":"2020"},"n_packages":1,"n_references":7,"next":{"headline":"Roundcube Webmail Remote Code Execution","id":"CVE-2020-12641"},"packages":[{"ecosystem":"Bitnami","fixed":["1.2.10","1.3.11","1.4.4"],"introduced":["1.2.0","1.3.0","1.4.0"],"last_affected":[],"package":"roundcube","purl":"pkg:bitnami/roundcube","source":"BIT-roundcube-2020-12640"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2020-12639"},"products":["n/a"],"published":"2020-05-04","related":[{"cvss_score":9.8,"headline":"Roundcube Webmail Remote Code Execution","id":"CVE-2020-12641","kev_date_added":"2023-06-22","published":"2020-05-04"},{"cvss_score":8.8,"headline":"Command injection in EdgeSwitch firmware v1.9.0 and prior","id":"CVE-2020-8233","kev_date_added":null,"published":"2020-08-17"},{"cvss_score":8.4,"headline":"inn: non-root owned files","id":"CVE-2020-8026","kev_date_added":null,"published":"2020-08-07"},{"cvss_score":8.2,"headline":"Path traversal and files overwrite with unsquashfs","id":"CVE-2020-15229","kev_date_added":null,"published":"2020-10-14"},{"cvss_score":7.8,"headline":"Command injection in Shadowsocks","id":"CVE-2019-5164","kev_date_added":null,"published":"2019-12-03"},{"cvss_score":7.8,"headline":"Path traversal in n/a","id":"CVE-2019-9896","kev_date_added":null,"published":"2019-03-21"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can execute code and read local files via directory traversal in plugin names, affecting Roundcube Webmail users.","url":"https://insights.sbomify.com/CVE-2020-12640/"}