{"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-04-10T03:54:10.524374Z","published":"2017-03-27T17:59:00.460Z","related":["MGASA-2016-0377"],"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/94216"},{"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":"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":"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"},{"fixed":"b924696b2e8731f39696584d12cceeb3aeb2d874"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.5.2"}]}}],"versions":["0.1","0.2","0.3","0.4","0.5","0.5.1","0.6","0.7","0.8","0.9","1.0","1.1","1.2","1.3","1.4","1.5","1.5.1","1.5.2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"23"}]},{"events":[{"introduced":"0"},{"last_affected":"24"}]},{"events":[{"introduced":"0"},{"last_affected":"25"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.10"}]}],"source":"https://storage.googleapis.com/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"}]}