CVE-2024-42008

NameCVE-2024-42008
DescriptionA Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a malicious e-mail attachment served with a dangerous Content-Type header.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5743-1, DSA-5743-2, ELA-1170-1
Debian Bugs1077969

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
roundcube (PTS)stretch (security), stretch (lts), stretch1.2.3+dfsg.1-4+deb9u10vulnerable
buster, buster (lts)1.3.17+dfsg.1-1~deb10u7fixed
buster (security)1.3.17+dfsg.1-1~deb10u6vulnerable
bullseye (security), bullseye1.4.15+dfsg.1-1+deb11u4fixed
bookworm (security), bookworm1.6.5+dfsg-1+deb12u4fixed
sid, trixie1.6.9+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
roundcubesourcestretch(unfixed)end-of-life
roundcubesourcebuster1.3.17+dfsg.1-1~deb10u7ELA-1170-1
roundcubesourcebullseye1.4.15+dfsg.1-1+deb11u4DSA-5743-2
roundcubesourcebookworm1.6.5+dfsg-1+deb12u3DSA-5743-1
roundcubesource(unstable)1.6.8+dfsg-11077969

Notes

https://github.com/roundcube/roundcubemail/commit/89c8fe9ae9318c015807fbcbf7e39555fb30885d
Regression/follow-up: https://github.com/roundcube/roundcubemail/commit/32fed15346e5b842042e5dd1001d6878225c5367

Search for package or bug name: Reporting problems