{"id":"UBUNTU-CVE-2018-1000159","details":"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.","modified":"2025-10-24T04:47:20Z","published":"2018-04-18T19:29:00Z","upstream":["CVE-2018-1000159"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1000159"},{"type":"REPORT","url":"https://github.com/tomato42/tlslite-ng/pull/234"},{"type":"REPORT","url":"https://github.com/tomato42/tlslite-ng/pull/234/commits/3674815d1b0f7484454995e2737a352e0a6a93d8"},{"type":"REPORT","url":"https://github.com/tomato42/tlslite-ng/pull/235"},{"type":"REPORT","url":"https://github.com/tomato42/tlslite-ng/pull/235/commits/e5e9145558f4c1a81071c61c947aa55a52542585"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000159"}],"affected":[{"package":{"name":"tlslite-ng","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tlslite-ng@0.5.1-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-tlslite-ng","binary_version":"0.5.1-1"},{"binary_name":"python3-tlslite-ng","binary_version":"0.5.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000159.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}