{"answers":{"affected":"1 open source package ship an affected version, including roundcube. It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2020-12641 in the wild since at least 22 Jun 2023.","fix":"Upgrade roundcube to a fixed version for your release line: 1.2.10, 1.3.11 or 1.4.4. US federal agencies must fix it by 13 Jul 2023.","what":"CVE-2020-12641 is a critical command injection 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-12641 and fix it if it is affected.\n\nWhat it is: CVE-2020-12641 is a critical command injection 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: Yes. Attackers have exploited CVE-2020-12641 in the wild since at least 22 Jun 2023.\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-12641/ (Markdown: https://insights.sbomify.com/CVE-2020-12641/index.md)","id":"CVE-2020-12641","markdown":"https://insights.sbomify.com/CVE-2020-12641/index.md","name":"CVE-2020-12641","record":{"aliases":["BIT-roundcube-2020-12641","DEBIAN-CVE-2020-12641","GHSA-q9jx-pp2v-v8xh","UBUNTU-CVE-2020-12641"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Roundcube Webmail","requires_auth":"none","summary":"Attackers can execute arbitrary code via shell metacharacters in specific image conversion configuration settings in Roundcube Webmail.","user_interaction":"not_required","vuln_class":"command_injection"},"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":"cisa-adp","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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2024-04-08","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-04-08T19:48:16Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/CVE-2020-12641","stars":0,"title":"CVE-2020-12641: Command Injection via “_im_convert_path” Parameter in Roundcube Webmail"},{"date":"2024-04-13T15:59:47Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/MAL-004","stars":0,"title":"MAL-004: Command Injection Bypass for CVE-2020-12641 in Roundcube Webmail"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-12641.yaml","stars":null,"title":"Roundcube Webmail - Command Injection"}],"tier":"exploited"},"has_fix":true,"headline":"Roundcube Webmail Remote Code Execution","id":"CVE-2020-12641","indexable":true,"kev":{"dateAdded":"2023-06-22","dueDate":"2023-07-13","knownRansomwareCampaignUse":"Unknown","product":"Roundcube Webmail","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Roundcube","vulnerabilityName":"Roundcube Webmail Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":"opensuse:backports_sle","products":["opensuse:backports_sle","opensuse:leap","roundcube:webmail"],"type":"command_injection","year":"2020"},"n_packages":1,"n_references":7,"next":{"headline":"XXE vulnerability in Launch import","id":"CVE-2020-12642"},"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-12641"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2020-12640"},"products":["n/a"],"published":"2020-05-04","related":[{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2020-12640","kev_date_added":null,"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code via shell metacharacters in specific image conversion configuration settings in Roundcube Webmail.","url":"https://insights.sbomify.com/CVE-2020-12641/"}