CVE-2018-10903 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2018:3600 | CVE | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10903 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/pyca/cryptography/pull/4342/commits/688e0f673bfbf43fa898994326c6877f00ab19ef | CVE | PatchThird Party Advisory |
| https://usn.ubuntu.com/3720-1/ | CVE | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2018:3600 | [email protected] | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10903 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/pyca/cryptography/pull/4342/commits/688e0f673bfbf43fa898994326c6877f00ab19ef | [email protected] | PatchThird Party Advisory |
| https://usn.ubuntu.com/3720-1/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cryptography python-cryptography | >= 1.9.0, < 2.3 |
CPE
Remediation
| |
| redhat openstack | 13 |
CPE
Remediation
| |
| canonical ubuntu linux | 18.04 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 4, 2021 | CPE Deprecation Remap | [email protected] |
| Oct 9, 2019 | CVE Modified | [email protected] |
| Oct 3, 2019 | CWE Remap | [email protected] |
| Nov 14, 2018 | CVE Modified | [email protected] |
| Oct 10, 2018 | Initial Analysis | [email protected] |
| Aug 1, 2018 | CVE Modified | [email protected] |