CVE-2016-9243

python-cryptography: HKDF might return an empty byte-string

Published Mar 27, 2017 CVSS 3.1 · 7.5 High EPSS 3.5% KEV · Not listed
Description
HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-0020 HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.
Github GHSA Github GHSA GHSA-q3cj-2r34-2cwc Improper input validation in cryptography
Ubuntu USN Ubuntu USN USN-3138-1 python-cryptography vulnerability
History
Type Values Removed Values Added
Weaknesses CWE-20 NVD-CWE-noinfo
CPEs cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:*:*:* cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*
Metrics cvssV3_0

{'score': 7.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

cvssV3_0

{'score': 4.8, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 2:42 AM
Reserved
Nov 9, 2016, 12:00 AM
Status
Modified
Published
Mar 27, 2017, 5:59 PM
Modified
Jun 17, 2026, 12:55 AM
Severity
Low
Public date
Nov 5, 2016, 12:00 AM