Security mailing lists by PureSourceCode

CVE-2018-10903

HIGH 7.5CVSS 3.0

PyCA Cryptography vulnerable to GCM tag forgery

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.

Published
30 Jul 2018
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-fcf9-3qw3-gxmjPYSEC-2018-52
Sources
NVDJSONOSV GHSA-fcf9-3qw3-gxmjJSONOSV PYSEC-2018-52JSON

Scores

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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cryptography python-cryptography
cpe:2.3:a:cryptography:python-cryptography:*:*:*:*:*:*:*:*
>= 1.9.0, < 2.3 2.3
NVD redhat openstack
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
= 13
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
OSV PyPI cryptography >= 1.9.0, < 2.3 2.3
OSV PyPI cryptography >= 1.9, < 2.3 2.3

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 30 Jul 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jul 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Jul 2018)
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.