{"id":"UBUNTU-CVE-2021-42097","details":"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).","modified":"2026-02-04T03:49:17.051792Z","published":"2021-10-21T00:00:00Z","related":["USN-5121-1","USN-5121-2"],"upstream":["CVE-2021-42097"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-42097"},{"type":"REPORT","url":"https://mail.python.org/archives/list/mailman-announce@python.org/thread/IKCO6JU755AP5G5TKMBJL6IEZQTTNPDQ/"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/10/21/4"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5121-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5121-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-42097"}],"affected":[{"package":{"name":"mailman","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/mailman@1:2.1.20-1ubuntu0.6+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.1.20-1ubuntu0.6+esm1"}]}],"versions":["1:2.1.20-1","1:2.1.20-1ubuntu0.1","1:2.1.20-1ubuntu0.3","1:2.1.20-1ubuntu0.4","1:2.1.20-1ubuntu0.5","1:2.1.20-1ubuntu0.6"],"ecosystem_specific":{"binaries":[{"binary_name":"mailman","binary_version":"1:2.1.20-1ubuntu0.6+esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42097.json"}},{"package":{"name":"mailman","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mailman@1:2.1.26-1ubuntu0.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.1.26-1ubuntu0.4"}]}],"versions":["1:2.1.23-1","1:2.1.24-1","1:2.1.25-1","1:2.1.26-1","1:2.1.26-1ubuntu0.1","1:2.1.26-1ubuntu0.2","1:2.1.26-1ubuntu0.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"mailman","binary_version":"1:2.1.26-1ubuntu0.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42097.json"}},{"package":{"name":"mailman","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mailman@1:2.1.29-1ubuntu3.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.1.29-1ubuntu3.1"}]}],"versions":["1:2.1.29-1","1:2.1.29-1build1","1:2.1.29-1ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"mailman","binary_version":"1:2.1.29-1ubuntu3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42097.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}