Improper input validation in Cryptography Python-Cryptography
CVE-2018-10903
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.032 (86.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Cryptography Python-cryptography
- [Unknown] Python-cryptography — versions 2.3
- Canonical Ubuntu_linux — versions 18.04
- Redhat Openstack — versions 13
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
- secalert@redhat.com (x_refsource_CONFIRM, Patch, Third Party Advisory, Issue Tracking)
- secalert@redhat.com (x_refsource_CONFIRM, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-10903?
- CVE-2018-10903 is a high-severity vulnerability in Cryptography Python-Cryptography, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2018-07-30.
- How severe is CVE-2018-10903?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-10903 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.