CVE-2018-10903: canonical ubuntu_linux Improper Input Validation
Vulnerability summary
CVE-2018-10903 is a high (CVSS 7.5) Improper Input Validation vulnerability in canonical ubuntu_linux. EPSS estimates a 3.20% chance of exploitation in the next 30 days, higher than 87.9% of scored vulnerabilities.
Timeline
- 30-07-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 6 sources · 3 versions- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
3.20%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
0.00 pp
From 3.20% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse66 products
- python-cffi&distro=HPE Helion OpenStack 8< 1.11.2-5.11.1
- python-cffi&distro=SUSE Enterprise Storage 5< 1.11.2-5.11.1
- python-cffi&distro=SUSE Linux Enterprise Server 12 SP1-LTSS< 1.11.2-2.19.2
- python-cffi&distro=SUSE Linux Enterprise Server 12 SP2-BCL< 1.11.2-5.11.1
- python-cffi&distro=SUSE Linux Enterprise Server 12 SP2-LTSS< 1.11.2-5.11.1
Mageia4 products
- python-asn1crypto< 0.22.0-1.1.mga6
- python-cffi< 1.7.0-1.mga6
- python-cryptography< 2.3.1-1.mga6
- python-cryptography-vectors< 2.3.1-1.mga6
Redhat4 products
- openstack13
- python-cryptography< 0:2.1.4-3.el7ost
- python-cryptography-debuginfo< 0:2.1.4-3.el7ost
- python2-cryptography< 0:2.1.4-3.el7ost
Opensuse3 products
- python-cryptography-vectors&distro=openSUSE Leap 15.3< 2.9.2-150200.3.3.1
- python-cryptography&distro=openSUSE Leap 15.3< 2.9.2-150200.13.1
- python-cryptography&distro=openSUSE Leap Micro 5.2< 2.9.2-150200.13.1
[unknown]1 product
Canonical1 product
- ubuntu_linuxEOL18.04
Cryptography1 product
- python-cryptography≥ 1.9.0, < 2.3
Debian1 product
- python-cryptography< 2.3-1
PyPI1 product
- cryptography≥ 1.9.0, < 2.3 | ≥ 1.9, < 2.3
Ubuntu1 product
- python-cryptography< 2.1.4-1ubuntu1.2
10 vendors · 83 products
References
37 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10903X Refsource CONFIRMIssue TrackingPatchThird Party AdvisoryWEBREPORT
- github.com/pyca/cryptography/pull/4342/commits/688e0f673bfbf43fa898994326c6877f00ab19efX Refsource CONFIRMPatchThird Party AdvisoryWEB
Show all 37 references
- bugzilla.suse.com/981848REPORT
- github.com/pyca/cryptographyPACKAGE