Timing Attack Affecting patroni package, versions [0,2.0.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-PATRONI-1077063
  • published19 Feb 2021
  • disclosed19 Feb 2021
  • creditAlex Brasetvik

Introduced: 19 Feb 2021

CVE NOT AVAILABLE CWE-208  (opens in a new tab)

How to fix?

Upgrade patroni to version 2.0.2 or higher.

Overview

patroni is a PostgreSQL High-Available orchestrator and CLI.

Affected versions of this package are vulnerable to Timing Attack via auth key comparison, as 'hmac.compare_digest()' is used instead of '==' for performing the REST API authentication.

CVSS Base Scores

version 3.1