CVE-2018-10903

Source
https://cve.org/CVERecord?id=CVE-2018-10903
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10903.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-10903
Aliases
Downstream
Related
Published
2018-07-30T16:29:00.283Z
Modified
2026-07-08T05:52:07.174283478Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

A flaw was found in python-cryptography versions between >=1.9.0 and <2.3. The finalizewithtag API did not enforce a minimum tag length. If a user did not validate the input length prior to passing it to finalizewithtag 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.

Database specific
{
    "unresolved_ranges": [
        {
            "vendor_product": "canonical:ubuntu_linux",
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "18.04"
                },
                {
                    "last_affected": "18.04"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:openstack",
            "extracted_events": [
                {
                    "introduced": "13"
                },
                {
                    "last_affected": "13"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/pyca/cryptography

Affected ranges

Type
GIT
Repo
https://github.com/pyca/cryptography
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:cryptography:python-cryptography:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.9.0"
        },
        {
            "fixed": "2.3"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

0.*
0.1
0.2
0.3
0.4
0.5
0.5.1
0.6
0.7
0.8
0.9
1.*
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2.*
2.0
2.1
2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10903.json"