An open API service providing security vulnerability metadata for many open source software ecosystems.

MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWN3aDUtM2N3Ny00Mjg2

High CVSS: 8.2 EPSS: 0.00161% (0.37627 Percentile) EPSS:

tlslite-ng off-by-one error on mac checking

Affected Packages Affected Versions Fixed Versions
pypi:tlslite-ng
PURL: pkg:pypi/tlslite-ng
< 0.7.4 0.7.4
2 Dependent packages
115 Dependent repositories
390,382 Downloads last month

Affected Version Ranges

All affected versions

0.5.0, 0.5.0-beta1, 0.5.0-beta2, 0.5.0-beta3, 0.5.0-beta4, 0.5.0-beta5, 0.5.0-beta6, 0.5.1, 0.5.2, 0.6.0, 0.6.0-alpha1, 0.6.0-alpha2, 0.6.0-alpha3, 0.6.0-alpha4, 0.6.0-alpha5, 0.6.0-beta1, 0.7.0, 0.7.0-alpha1, 0.7.0-alpha2, 0.7.0-alpha3, 0.7.0-alpha4, 0.7.0-alpha5, 0.7.0-alpha6, 0.7.0-alpha7, 0.7.0-alpha8, 0.7.0-alpha9, 0.7.0-beta1, 0.7.1, 0.7.2, 0.7.3

All unaffected versions

0.7.4, 0.7.5, 0.7.6, 0.8.0, 0.8.0a43, 0.8.0a44, 0.8.0a45, 0.8.0a46, 0.8.0a47, 0.8.0b1, 0.8.0b2, 0.8.0b3, 0.8.0b4, 0.8.0b5, 0.8.0b6, 0.8.1, 0.8.2, 0.9.0b1, 0.9.0b2

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.

References: