CVE-2018-10903 PyCA Cryptography vulnerable to GCM tag forgery
HighCVSS 7.5
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cryptography(PyPI) | >= 1.9.0, < 2.3 | 2.3 |
| pypi cryptography(PyPI) | = 1.9 | No fix listed |
| pypi cryptography(PyPI) | = 2.0 | No fix listed |
| pypi cryptography(PyPI) | = 2.0.1 | No fix listed |
| pypi cryptography(PyPI) | = 2.0.2 | No fix listed |
| pypi cryptography(PyPI) | = 2.0.3 | No fix listed |
| pypi cryptography(PyPI) | = 2.1 | No fix listed |
| pypi cryptography(PyPI) | = 2.1.1 | No fix listed |
| pypi cryptography(PyPI) | = 2.1.2 | No fix listed |
| pypi cryptography(PyPI) | = 2.1.3 | No fix listed |
| pypi cryptography(PyPI) | = 2.1.4 | No fix listed |
| pypi cryptography(PyPI) | = 2.2 | No fix listed |
| pypi cryptography(PyPI) | = 2.2.1 | No fix listed |
| pypi cryptography(PyPI) | = 2.2.2 | No fix listed |
| pypi cryptography(PyPI) | >= 1.9, < 2.3 | 2.3 |
| debian/python-cryptography(Debian:12) | < 2.3-1 | 2.3-1 |
| debian/python-cryptography(Debian:13) | < 2.3-1 | 2.3-1 |
| debian/python-cryptography(Debian:14) | < 2.3-1 | 2.3-1 |
| cryptography python-cryptography | >= 1.9.0, < 2.3 | 2.3 |
| redhat openstack | = 13 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| [UNKNOWN] python-cryptography | = 2.3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- RHSA-2018:3600 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- github.com vendor-advisory
- github.com product
- github.com
- USN-3720-1 third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- Debian Security Tracker CVE-2018-10903 vendor-advisory
- bugs.debian.org issue-tracking