Skip to content

CVE-2018-1000159 tlslite-ng off-by-one error on mac checking

MediumCVSS 5.9 EPSS 0.77%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

Description

tlslite-ng version 0.7.3 and earlier, since commit d7b288316bca7bcdd082e6ccff5491e241305233 contains a CWE-354: Improper Validation of Integrity Check Value vulnerability in TLS implementation, tlslite/utils/constanttime.py: ct_check_cbc_mac_and_pad(); line "end_pos = data_len - 1 - mac.digest_size" that can result in an attacker manipulating the TLS ciphertext which will not be detected by receiving tlslite-ng. This attack appears to be exploitable via man in the middle on a network connection. This vulnerability appears to have been fixed after commit 3674815d1b0f7484454995e2737a352e0a6a93d8.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/tlslite-ng(Ubuntu 16.04) = 0.5.1-1; All versions No fix listed No fix yet
pypi tlslite-ng(PyPI) < 0.7.4; = 0.5.0; = 0.5.0-beta1; = 0.5.0-beta2 +27 more 0.7.4 Fixed
tlslite-ng project tlslite-ng <= 0.7.3 after 0.7.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi tlslite-ng(PyPI) < 0.7.4 0.7.4
pypi tlslite-ng(PyPI) = 0.5.0 No fix listed
pypi tlslite-ng(PyPI) = 0.5.0-beta1 No fix listed
pypi tlslite-ng(PyPI) = 0.5.0-beta2 No fix listed
pypi tlslite-ng(PyPI) = 0.5.0-beta3 No fix listed
pypi tlslite-ng(PyPI) = 0.5.0-beta4 No fix listed
pypi tlslite-ng(PyPI) = 0.5.0-beta5 No fix listed
pypi tlslite-ng(PyPI) = 0.5.0-beta6 No fix listed
pypi tlslite-ng(PyPI) = 0.5.1 No fix listed
pypi tlslite-ng(PyPI) = 0.5.2 No fix listed
pypi tlslite-ng(PyPI) = 0.6.0 No fix listed
pypi tlslite-ng(PyPI) = 0.6.0-alpha1 No fix listed
pypi tlslite-ng(PyPI) = 0.6.0-alpha2 No fix listed
pypi tlslite-ng(PyPI) = 0.6.0-alpha3 No fix listed
pypi tlslite-ng(PyPI) = 0.6.0-alpha4 No fix listed
pypi tlslite-ng(PyPI) = 0.6.0-alpha5 No fix listed
pypi tlslite-ng(PyPI) = 0.6.0-beta1 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha1 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha2 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha3 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha4 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha5 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha6 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha7 No fix listed
Show 9 more
ProductAffected versionsFixed in
pypi tlslite-ng(PyPI) = 0.7.0-alpha8 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-alpha9 No fix listed
pypi tlslite-ng(PyPI) = 0.7.0-beta1 No fix listed
pypi tlslite-ng(PyPI) = 0.7.1 No fix listed
pypi tlslite-ng(PyPI) = 0.7.2 No fix listed
pypi tlslite-ng(PyPI) = 0.7.3 No fix listed
tlslite-ng project tlslite-ng <= 0.7.3 No fix listed
ubuntu/tlslite-ng(Ubuntu:16.04) All versions No fix listed
ubuntu/tlslite-ng(Ubuntu:16.04) = 0.5.1-1 No fix listed

References