Live threats

All CVEs / Tlslite-ng Project

CVE-2018-1000159Tlslite-ng Project Tlslite-ng

Medium 5.9 No auth needed

Priority
50
CVSS 3.0
5.9
EPSS
0.8%
probability of exploitation in 30 days · percentile 57
Auth required
No
Published
Apr 18, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-354
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tlslite-ng.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI tlslite-ng < 0.7.4 0.7.4 pip install "tlslite-ng>=0.7.4"
PyPI tlslite-ng < 0.7.4 0.7.4 pip install "tlslite-ng>=0.7.4"

Per OSV / GitHub Advisories (GHSA-cwh5-3cw7-4286, PYSEC-2018-31). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tlslite-ng_projecttlslite-ng≤ 0.7.3

Official sources

References

Links published by the sources. Open them with care.