Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2021-34337: Check the REST API password in a way that is resistant to timing attacks (CVE-2021-34337) (e4a39488) · Commits · GNU Mailman / Mailman Core · GitLab

An issue was discovered in Mailman Core before 3.3.5. An attacker with access to the REST API could use timing attacks to determine the value of the configured REST API password and then make arbitrary REST API calls. The REST API is bound to localhost by default, limiting the ability for attackers to exploit this, but can optionally be made to listen on other interfaces.

CVE
#mac#git#auth

Skip to content

Commit e4a39488 authored Jun 08, 2021 by legoktm

Browse files

Check the REST API password in a way that is resistant to timing attacks (CVE-2021-34337)

Using basic string equality is vulnerable to timing attacks as it will short circuit at the first wrong character. Using hmac.compare_digest avoids that issue and will take the same time, regardless of whether the value is correct or not.

This is only exploitable if an attacker can talk directly to the REST API, which by default is bound to localhost.

Fixes #911.

  • Changes 2
  • Pipelines 1

Related news

GHSA-2jg5-xgvv-4wq7: Mailman Core vulnerable to timing attacks

An issue was discovered in Mailman Core before 3.3.5. An attacker with access to the REST API could use timing attacks to determine the value of the configured REST API password and then make arbitrary REST API calls. The REST API is bound to localhost by default, limiting the ability for attackers to exploit this, but can optionally be made to listen on other interfaces.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907