—
PYSEC-2017-8
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:
0 Fixed in: b924696b2e8731f39696584d12cceeb3aeb2d874 Fix
pip install --upgrade 'cryptography>=b924696b2e8731f39696584d12cceeb3aeb2d874' References
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM57GEQKT/ [WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4VC6CIZ/ [WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H5CGJXL/ [WEB]
- https://github.com/pyca/cryptography/issues/3211 [REPORT]
- https://github.com/pyca/cryptography/commit/b924696b2e8731f39696584d12cceeb3aeb2d874 [FIX]
- https://cryptography.io/en/latest/changelog [WEB]
- http://www.ubuntu.com/usn/USN-3138-1 [ADVISORY]
- http://www.securityfocus.com/bid/94216 [WEB]
- http://www.openwall.com/lists/oss-security/2016/11/09/2 [WEB]
- https://github.com/advisories/GHSA-q3cj-2r34-2cwc [ADVISORY]