{"id":"CVE-2018-1000159","published":"2018-04-18T19:00:00Z","modified":"2024-08-05T12:33:49Z","title":"tlslite-ng version 0.7.3 and earlier, since commit d7b288316bca7bcdd082e6ccff5491e241305233 contains a CWE-354…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00772,"percentile":0.56592,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/tomato42/tlslite-ng/pull/234","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":11.32}]},"affected":[{"ecosystem":"PyPI","package":"tlslite-ng","vulnerableRanges":["<0.7.4"],"patched":["0.7.4"],"from":["GHSA-cwh5-3cw7-4286","PYSEC-2018-31"],"provenance":"source"}],"summary":{"text":"The flaw is in tlslite-ng, version 0.7.3 and earlier (from commit d7b288316bca7bcdd082e6ccff5491e241305233 onward), in the TLS implementation's constant-time CBC MAC and padding check, ct_check_cbc_mac_and_pad() in tlslite/utils/constanttime.py, where an incorrect end-position calculation fails to detect integrity violations. An attacker positioned as a man in the middle on the network connection can manipulate TLS ciphertext in a way that the receiving tlslite-ng instance does not detect.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:56Z"},"euvd":{"id":"EUVD-2018-0139","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tlsfuzzer-tlslite-ng-cve-2018-1000159","children":[{"from":"CVE-2018-1000159","to":"CVE-2020-26263","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tlslite/utils/constanttime.py"],"commits":["https://github.com/tlsfuzzer/tlslite-ng/commit/3674815d1b0f7484454995e2737a352e0a6a93d8","https://github.com/tlsfuzzer/tlslite-ng/commit/d7b288316bca7bcdd082e6ccff5491e241305233","https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368"],"basis":"rarely changed file"}]}]}}