Cryptographic Issues Affecting aiootp package, versions [,0.18.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made 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 Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AIOOTP-1278599
  • published2 May 2021
  • disclosed2 May 2021
  • creditUnknown

Introduced: 2 May 2021

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

How to fix?

Upgrade aiootp to version 0.18.0 or higher.

Overview

aiootp is an aiootp - an asynchronous pseudo-one-time-pad based crypto and anonymity library.

Affected versions of this package are vulnerable to Cryptographic Issues. The new StreamHMAC class ensures the user must contend with ciphertext validation even when using the *_encipher, *_decipher & *_xor Comprende generators. All usages of the generics.py hmac functions are impacted by a reordering of the key & argument within those functions to more closely mirror the reasoning behind the HMAC spec. The main a/*_keys generators used by the pseudo one time pad cipher has been altered to patch a flaw in its design described in CHANGES.rst. The database classes filenames have switched from a base36 encoding to base38.

References

CVSS Scores

version 3.1