{"id":"CVE-2020-26263","published":"2020-12-21T16:55:18Z","modified":"2024-08-04T15:56:03Z","title":"RSA vulnerability in tslite-ng","vendor":"tlsfuzzer","product":"tlslite-ng","tier":"tail","description":{"text":"tlslite-ng is an open source python library that implements SSL and TLS cryptographic protocols. In tlslite-ng before versions 0.7.6 and 0.8.0-alpha39, the code that performs decryption and padding check in RSA PKCS#1 v1.5 decryption is data dependant. In particular, the code has multiple ways in which it leaks information about the decrypted ciphertext. It aborts as soon as the plaintext doesn't start with 0x00, 0x02. All TLS servers that enable RSA key exchange as well as applications that use the RSA decryption API directly are vulnerable. This is patched in versions 0.7.6 and 0.8.0-alpha39. Note: the patches depend on Python processing the individual bytes in side-channel free manner, this is known to not the case (see reference). As such, users that require side-channel resistance are recommended to use different TLS implementations, as stated in the security policy of tlslite-ng.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01523,"percentile":0.75245,"provenance":"source"},"cwes":[{"id":"CWE-326","name":"Inadequate Encryption Strength"}],"references":[{"url":"https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7","tags":["x_refsource_CONFIRM"]},{"url":"https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/","tags":["x_refsource_MISC"]},{"url":"https://github.com/tlsfuzzer/tlslite-ng/pull/438","tags":["x_refsource_MISC"]},{"url":"https://github.com/tlsfuzzer/tlslite-ng/pull/439","tags":["x_refsource_MISC"]},{"url":"https://pypi.org/project/tlslite-ng/","tags":["x_refsource_MISC"]},{"url":"https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":15.05},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tlsfuzzer","affectedVersions":[{"vendor":"tlsfuzzer","product":"tlslite-ng","versions":["< 0.7.6",">= 0.8.0-alpha1, < 0.8.0-alpha39"]}],"affected":[{"ecosystem":"PyPI","package":"tlslite-ng","vulnerableRanges":["<0.7.6"],"patched":["0.7.6"],"from":["GHSA-wvcv-832q-fjg7","PYSEC-2020-143"],"provenance":"source"}],"summary":{"text":"The RSA PKCS#1 v1.5 decryption and padding check in the tlslite-ng Python TLS/SSL library (vendor tlsfuzzer) performs data-dependent processing that leaks information about the decrypted ciphertext, with early aborts when the plaintext does not begin with 0x00 0x02. An attacker with network access to a TLS server that enables RSA key exchange, or to an application calling the RSA decryption API directly, can exploit this without authentication or user interaction to compromise the integrity of decrypted data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:43Z"},"euvd":{"id":"EUVD-2020-0221","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tlsfuzzer-tlslite-ng-cve-2018-1000159","parents":[{"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"}]}]}}