CVE-2018-10903

HIGHCVSS 7.5/10EPSS 2.60%

Last modified

CVE-2018-10903 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 2.60% chance of exploitation in the next 30 days.

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 3.0
7.5/10

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
2.60%

83.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
CryptographyPython-Cryptography>= 1.9.0, < 2.3
RedhatOpenstack13
CanonicalUbuntu Linux18.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2018-10903?
CVE-2018-10903 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.60% probability of exploitation in the next 30 days.
How do I fix CVE-2018-10903?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2018

Are you affected by CVE-2018-10903?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST