Security mailing lists by PureSourceCode

CVE-2016-9243

HIGH 7.5CVSS 3.1

Improper input validation in cryptography

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

Published
27 Mar 2017
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-q3cj-2r34-2cwcPYSEC-2017-8
Sources
NVDJSONOSV GHSA-q3cj-2r34-2cwcJSONOSV PYSEC-2017-8JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cryptography.io cryptography
cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*
<= 1.5.2
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*
= 23
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*
= 24
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:*
= 25
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:*
= 16.10
OSV PyPI cryptography < 1.5.3 1.5.3

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 27 Mar 2017)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Mar 2017)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.