Advisory

GHSA-q3cj-2r34-2cwc

Also known as: CVE-2016-9243, PYSEC-2017-8

Summary

Improper input validation in cryptography

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 02:51 UTC
Modified
2024-09-13 20:24 UTC

Affected packages and fixes

cryptography

PyPI · All systems

Affected

  • introduced 0, fixed 1.5.3 (ecosystem)

Fixed versions

1.5.3

Fix

  • Fixed version 1.5.3
    pip install --upgrade cryptography==1.5.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences