CVE-2018-10903

unknown
Published 2018-07-31 · Modified 2023-11-08
CVSS v3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

Description

A flaw was found in python-cryptography versions between >=1.9.0 and <2.3. The finalize_with_tag API did not enforce a minimum tag length. If a user did not validate the input length prior to passing it to finalize_with_tag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-10903

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-10903.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed2.3-1
debian debianbullseyefixed2.3-1
debian debianforkyfixed2.3-1
debian debiansidfixed2.3-1
debian debiantrixiefixed2.3-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIcryptography>=1.9.0,<2.32.3
python PyPIcryptography>=1.9,<2.32.3

References

Verify integrity in audit chain (admin only). AS-IS.