Timing Attack Affecting eth-keyfile package, versions [,0.6.0)


Severity

0.0
low
0
10

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 ID SNYK-PYTHON-ETHKEYFILE-2391482
  • published 2 Feb 2022
  • disclosed 2 Feb 2022
  • credit pipermerriam

Introduced: 2 Feb 2022

CVE NOT AVAILABLE CWE-208 Open this link in a new tab

How to fix?

Upgrade eth-keyfile to version 0.6.0 or higher.

Overview

eth-keyfile is an A library for handling the encrypted keyfiles used to store ethereum private keys.

Affected versions of this package are vulnerable to Timing Attack. When checking mac while decoding a keyfile, a non-constant time compare function is used.

CVSS Scores

version 3.1
Expand this section

Snyk

3.7 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None