Skip to content

Known exploited

CVE-2020-12641 on Ubuntu 20.04 LTS: affected packages and fixed versions

6 packages on Ubuntu 20.04 LTS are affected by CVE-2020-12641 (Roundcube Webmail Remote Code Execution Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on June 22, 2023, with a remediation date of July 13, 2023 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
roundcube 1.4.3+dfsg.1-1ubuntu0.1~esm1 High USN-5182-1
roundcube-core 1.4.3+dfsg.1-1ubuntu0.1~esm1 High USN-5182-1
roundcube-mysql 1.4.3+dfsg.1-1ubuntu0.1~esm1 High USN-5182-1
roundcube-pgsql 1.4.3+dfsg.1-1ubuntu0.1~esm1 High USN-5182-1
roundcube-plugins 1.4.3+dfsg.1-1ubuntu0.1~esm1 High USN-5182-1
roundcube-sqlite3 1.4.3+dfsg.1-1ubuntu0.1~esm1 High USN-5182-1

Check a host

Show the installed versions and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' roundcube roundcube-core roundcube-mysql roundcube-pgsql

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade roundcube roundcube-core roundcube-mysql roundcube-pgsql

The fixed version may look older than the upstream release that fixed the bug. Ubuntu 20.04 LTS carries the fix in the version it already ships.

What it is

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.

CVE-2020-12641 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup