CVE-2021-42097

NameCVE-2021-42097
DescriptionGNU Mailman before 2.1.35 may allow remote Privilege Escalation. A csrf_token value is not specific to a single user account. An attacker can obtain a value within the context of an unprivileged user account, and then use that value in a CSRF attack against an admin (e.g., for account takeover).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2791-1, DSA-4991-1, ELA-500-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mailman (PTS)jessie, jessie (lts)1:2.1.18-2+deb8u8fixed
stretch (security), stretch (lts), stretch1:2.1.23-1+deb9u8fixed
buster1:2.1.29-1+deb10u5fixed
buster (security)1:2.1.29-1+deb10u2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mailmansourcejessie1:2.1.18-2+deb8u8ELA-500-1
mailmansourcestretch1:2.1.23-1+deb9u7DLA-2791-1
mailmansourcebuster1:2.1.29-1+deb10u2DSA-4991-1
mailmansource(unstable)(unfixed)

Notes

Fixed by: https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1873
https://bugs.launchpad.net/mailman/+bug/1947640
https://mail.python.org/archives/list/mailman-announce@python.org/thread/IKCO6JU755AP5G5TKMBJL6IEZQTTNPDQ/
https://www.openwall.com/lists/oss-security/2021/10/21/4
Regression: https://bugs.launchpad.net/mailman/+bug/1954694
Regression fixed by: https://launchpadlibrarian.net/573872803/patch.txt

Search for package or bug name: Reporting problems