Skip to content
OpenAdvisories
High · 7.5 CVE-2016-9243 EUVD-2017-0020GHSA-q3cj-2r34-2cwcPYSEC-2017-8

Improper input validation in cryptography

Published Mar 27, 2017 · Updated Aug 6, 2024 · Assigned by redhat

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-cryptography 1.5.3-1 —
Debian 13 python-cryptography 1.5.3-1 —
Debian 12 python-cryptography 1.5.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS python-cryptography 1.2.3-1ubuntu0.1 USN-3138-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI cryptography < 1.5.3 1.5.3 GHSA-q3cj-2r34-2cwc

Advisories 1

References