CVE-2021-42097 json
GNU Mailman before 2.1.35 may allow remote Privilege Escalation.
published 2021-10-21 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-29083
- cvss
- 8.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
GNU 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).
Patch / fix
- gnu mailman 2.1.35
- mailman Ubuntu 18.04 LTS 1:2.1.26-1ubuntu0.4
- mailman Ubuntu 20.04 LTS 1:2.1.29-1ubuntu3.1
- mailman Ubuntu Pro 16.04 LTS 1:2.1.20-1ubuntu0.6+esm1
ubuntu advisories UBUNTU-CVE-2021-42097
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- mailman RHEL 7 3:2.1.15-30.el7_9.2
- mailman RHEL 8 3:2.1.29-12.module+el8.5.0+13211+e8845b76.1
- mailman RHEL 8.1 EUS 3:2.1.29-4.module+el8.1.0+13242+45286865.1
- mailman RHEL 8.2 EUS 3:2.1.29-4.module+el8.2.0+13241+705a6aa4.3
- mailman RHEL 8.4 EUS 3:2.1.29-11.module+el8.4.0+13212+81332387.1
red hat advisories RHSA-2021:4913RHSA-2021:4838RHSA-2021:4837RHSA-2021:4839RHSA-2021:4826
- mailman Package Hub 15 SP2 2.1.35-bp152.7.6.1
- mailman openSUSE Leap 15.2 2.1.35-lp152.7.6.1
opensuse advisories openSUSE-SU-2021:1452-1openSUSE-SU-2021:1436-1
- mailman AlmaLinux 8 3:2.1.29-12.module_el8.5.0+26+48d4c9ee.2
- mailman AlmaLinux 8 3:2.1.29-12.module_el8.5.0+2601+e8845b76.1
- mailman AlmaLinux 8 3:2.1.29-12.module_el8.5.0+2602+327eb9f3.2
almalinux advisories ALSA-2021:4826
- mailman Rocky Linux 8 3:2.1.29-12.module+el8.5.0+717+27fd1ba7.2
- mailman Rocky Linux 8 3:2.1.29-12.module+el8.5.0+703+19300c10
rocky linux advisories RLSA-2021:4826
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-42097 updated cvss 8.0
mailman: CSRF token bypass allows to perform CSRF attacks and account takeover
-
Red Hat Enterprise Linux 6 mailmanaffected: workaround, no fix planned “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
-
Red Hat Enterprise Linux AppStream (v. 8) mailman 2.1.29-12.module+el8.5.0+13211+e8845b76.1fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2021:4826
-
Red Hat Enterprise Linux AppStream EUS (v. 8.1) mailman 2.1.29-4.module+el8.1.0+13242+45286865.1fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2021:4838
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) mailman 2.1.29-4.module+el8.2.0+13241+705a6aa4.3fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2021:4837
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) mailman 2.1.29-11.module+el8.4.0+13212+81332387.1fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2021:4839
-
Red Hat Enterprise Linux Server (v. 7) mailman 2.1.15-30.el7_9.2 Red Hat Enterprise Linux Workstation (v. 7) mailman 2.1.15-30.el7_9.2fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2021:4913
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
bugs.launchpad.net
/mailman/+bug/1947640
patch, third-party-advisory
-
openwall.com
/lists/oss-security/2021/10/21/4
mailing-list, patch, third-party-advisory
-
debian.org
/security/2021/dsa-4991
vendor-advisory, third-party-advisory
- mail.python.org /archives/list/mailman-announce%40python.org/thread/IKCO6JU755AP5G5TKMBJL6IEZQTTNPDQ/
Sources
- CVE List CVE-2021-42097
- NVD CVE-2021-42097
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.