VDB
Sign up
HIGH7.5

PYSEC-2017-8

Quick fix

PYSEC-2017-8 — cryptography: upgrade to the fixed version with the command below.

pip install --upgrade 'cryptography>=b924696b2e8731f39696584d12cceeb3aeb2d874'

Details

HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/cryptography
Introduced in: 0Fixed in: b924696b2e8731f39696584d12cceeb3aeb2d874
Fixpip install --upgrade 'cryptography>=b924696b2e8731f39696584d12cceeb3aeb2d874'

References