{"id":"CVE-2016-9243","details":"HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.","aliases":["GHSA-q3cj-2r34-2cwc","PYSEC-2017-8"],"modified":"2026-05-13T12:00:37.128119262Z","published":"2017-03-27T17:59:00.460Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"16.04"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"},{"extracted_events":[{"last_affected":"16.10"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"23"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"24"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*"},{"extracted_events":[{"last_affected":"25"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*"}]},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/94216"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3138-1"},{"type":"ADVISORY","url":"https://cryptography.io/en/latest/changelog"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H5CGJXL/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4VC6CIZ/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM57GEQKT/"},{"type":"REPORT","url":"https://github.com/pyca/cryptography/issues/3211"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/11/09/2"},{"type":"FIX","url":"https://github.com/pyca/cryptography/commit/b924696b2e8731f39696584d12cceeb3aeb2d874"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pyca/cryptography","events":[{"introduced":"0"},{"last_affected":"cad77746539f504d53eb1bf9b278ec081ab8040a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"1.5.2"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*"}}],"versions":["1.5.2","1.5.1","1.5","1.4","1.3","1.2","1.1","1.0","0.9","0.8","0.7","0.6","0.5.1","0.5","0.4","0.3","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-9243.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}