CVE-2021-40347
Python vulnerability analysis and mitigation

Overview

CVE-2021-40347 affects GNU Mailman Postorius before version 1.3.5. The vulnerability allows any authenticated user to unsubscribe any other user from a mailing list through a crafted POST request to the unsubscribe endpoint. Additionally, this vulnerability enables the attacker to determine whether a specific email address was subscribed to a list, as the system would reveal this information through error messages (Debian Bug, GitLab Issue).

Technical details

The vulnerability exists in views/list.py of the Postorius application. The issue stems from the lack of validation to verify whether the user making the unsubscribe request actually owns the email address being unsubscribed. The CVSS v3.1 base score is 5.4 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (NVD).

Impact

The vulnerability allows authenticated attackers to unsubscribe any user from any mailing list without authorization. Furthermore, it enables information disclosure by revealing whether specific email addresses are subscribed to mailing lists, potentially exposing private membership information (GitLab Issue).

Mitigation and workarounds

The vulnerability was fixed in Postorius version 1.3.5 by adding email ownership verification before processing unsubscribe requests. The patch checks if the user making the request owns the email address they are attempting to unsubscribe. For Debian systems, security updates were released as version 1.2.4-1+deb10u1 for oldstable (buster) and version 1.3.4-2+deb11u1 for stable (bullseye) distributions (Debian Security Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65896CRITICAL9.8
  • PythonPython
  • asyncmy
NoNoDec 02, 2025
CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management