CVE-2020-26263:
RSA weakness in tslite-ng
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.47711%
CWE
Published
12/21/2020
Updated
11/13/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
tlslite-ng | pip | < 0.7.6 | 0.7.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly references the decrypt method in rsakey.py as the source of data-dependent timing leaks. The original implementation performed: 1) early return on length mismatch, 2) byte-by-byte scanning for padding validation, and 3) immediate abort on invalid header bytes. The commit diff shows these sections were replaced with constant-time operations (ct_lsb_prop_u8, ct_neq_u32) and synthetic message generation to eliminate timing dependencies. The CWE-326 mapping confirms this relates to cryptographic timing weaknesses.