CVE-2021-34337
Description
Mailman Core before 3.3.5 allowed timing attacks on the REST API password, enabling attackers with local network access to brute-force the password and make arbitrary API calls.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Mailman Core before 3.3.5 allowed timing attacks on the REST API password, enabling attackers with local network access to brute-force the password and make arbitrary API calls.
Vulnerability
Mailman Core versions prior to 3.3.5 contain a timing vulnerability in the REST API password verification. The password check used basic string equality (==), which short-circuits on the first incorrect character, allowing an attacker to measure response times and deduce the password character by character [1][4]. The fix, introduced in version 3.3.5, replaces the comparison with hmac.compare_digest, which executes in constant time regardless of input [4].
Exploitation
An attacker must have network access to the REST API endpoint. By default, the REST API is bound to localhost, limiting exploitation to local users or processes on the same host [1]. However, if administrators configure the API to listen on other interfaces, remote attackers could exploit the timing side-channel. The attack requires sending many authenticated requests and measuring response times to infer the password [1][4].
Impact
Successful exploitation allows an attacker to recover the REST API password and then make arbitrary API calls. This could lead to unauthorized management of mailing lists, including creation, modification, or deletion of lists and members, potentially compromising the integrity and confidentiality of the mailing list system [1].
Mitigation
Users should upgrade to Mailman Core 3.3.5 or later, which contains the fix [2][4]. Additionally, administrators should ensure the REST API remains bound to localhost unless absolutely necessary, reducing the attack surface [1]. The fix is included in the commit e4a39488 [4].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mailmanPyPI | < 3.3.5 | 3.3.5 |
Affected products
4- ghsa-coords3 versionspkg:pypi/mailmanpkg:rpm/opensuse/mailman3&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python3-mailman&distro=openSUSE%20Tumbleweed
< 3.3.5+ 2 more
- (no CPE)range: < 3.3.5
- (no CPE)range: < 3.3.5-2.1
- (no CPE)range: < 3.3.5-1.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-2jg5-xgvv-4wq7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-34337ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/mailman/PYSEC-2023-22.yamlghsaWEB
- gitlab.com/mailman/mailman/-/commit/e4a39488c4510fcad8851217f10e7337a196bb51ghsaWEB
- gitlab.com/mailman/mailman/-/issues/911ghsaWEB
- gitlab.com/mailman/mailman/-/tagsghsaWEB
News mentions
0No linked articles in our index yet.