CVE-2016-9243Cryptography.io Cryptography
High 7.5 No auth needed
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 27, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.
What to do
- Apply the vendor's security update for Cryptography.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | cryptography |
< 1.5.3 |
1.5.3 |
pip install "cryptography>=1.5.3" |
| PyPI | cryptography |
< 1.5.3 |
1.5.3 |
pip install "cryptography>=1.5.3" |
Per OSV / GitHub Advisories (GHSA-q3cj-2r34-2cwc, PYSEC-2017-8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cryptography.io | cryptography | ≤ 1.5.2 |
| fedoraproject | fedora | 23 |
| fedoraproject | fedora | 24 |
| fedoraproject | fedora | 25 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 16.10 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch VDB Entry
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- cryptography.io Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory