CVE-2021-42096
Description
GNU Mailman before 2.1.35 uses an admin-derived csrf_token on user options pages, allowing a remote list member to brute-force the list admin password.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
GNU Mailman before 2.1.35 uses an admin-derived csrf_token on user options pages, allowing a remote list member to brute-force the list admin password.
Vulnerability
GNU Mailman versions before 2.1.35 contain a privilege escalation vulnerability in the options page. The csrf_token value for authenticated user sessions on that page is always an admin token rather than a user-specific token. This admin token is derived from the hashed list admin password [1][2]. Exploitation is limited to list members, because only authenticated members can access the options page [3].
Exploitation
An attacker must be a member of the target mailing list with valid credentials or a valid session. The attacker accesses their own options page and extracts the csrf_token value. Because this token is computed from the list admin password (via a deterministic function), the attacker can perform an offline brute-force attack against the token to recover the admin password [2]. The attack does not require any other privileges or user interaction beyond being a member.
Impact
If the brute-force attack succeeds, the attacker gains the list admin password. With that password, the attacker can assume full administrative control of the mailing list. This compromises the confidentiality of the admin account and can lead to modification or disclosure of list settings, membership data, and archives. The CVE is classified as a privilege escalation [1].
Mitigation
Fix is available in GNU Mailman 2.1.35, released on 2021-10-21 [1][3]. Sites that cannot upgrade can apply the patch referenced in the mailman-announce list [3]. No workaround other than upgrading or patching is documented. The issue does not affect non-public lists with only trusted members, where the attack surface is considered low [3].
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
18- GNU/Mailmandescription
- osv-coords16 versionspkg:rpm/almalinux/mailmanpkg:rpm/opensuse/mailman&distro=openSUSE%20Leap%2015.2pkg:rpm/suse/mailman&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/mailman&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/mailman&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/mailman&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/mailman&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/mailman&distro=SUSE%20Package%20Hub%2015%20SP2
< 3:2.1.29-12.module_el8.5.0+26+48d4c9ee.2+ 15 more
- (no CPE)range: < 3:2.1.29-12.module_el8.5.0+26+48d4c9ee.2
- (no CPE)range: < 2.1.35-lp152.7.6.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.17-3.26.1
- (no CPE)range: < 2.1.35-bp152.7.6.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
4- www.debian.org/security/2021/dsa-4991mitrevendor-advisoryx_refsource_DEBIAN
- www.openwall.com/lists/oss-security/2021/10/21/4mitremailing-listx_refsource_MLIST
- bugs.launchpad.net/mailman/+bug/1947639mitrex_refsource_CONFIRM
- mail.python.org/archives/list/mailman-announce%40python.org/thread/IKCO6JU755AP5G5TKMBJL6IEZQTTNPDQ/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.