Search

Find a vulnerability

Search criteria

    6 vulnerabilities found for tlslite-ng by tlslite-ng_project

    FKIE_CVE-2020-26263

    Vulnerability from fkie_nvd - Published: 2020-12-21 17:15 - Updated: 2026-06-17 03:07
    Summary
    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.
    References
    security-advisories@github.comhttps://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368Patch, Third Party Advisory
    security-advisories@github.comhttps://github.com/tlsfuzzer/tlslite-ng/pull/438Patch, Third Party Advisory
    security-advisories@github.comhttps://github.com/tlsfuzzer/tlslite-ng/pull/439Patch, Third Party Advisory
    security-advisories@github.comhttps://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7Exploit, Patch, Third Party Advisory
    security-advisories@github.comhttps://pypi.org/project/tlslite-ng/Product, Third Party Advisory
    security-advisories@github.comhttps://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/Exploit, Third Party Advisory
    af854a3a-2127-422b-91ae-364da2661108https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368Patch, Third Party Advisory
    af854a3a-2127-422b-91ae-364da2661108https://github.com/tlsfuzzer/tlslite-ng/pull/438Patch, Third Party Advisory
    af854a3a-2127-422b-91ae-364da2661108https://github.com/tlsfuzzer/tlslite-ng/pull/439Patch, Third Party Advisory
    af854a3a-2127-422b-91ae-364da2661108https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7Exploit, Patch, Third Party Advisory
    af854a3a-2127-422b-91ae-364da2661108https://pypi.org/project/tlslite-ng/Product, Third Party Advisory
    af854a3a-2127-422b-91ae-364da2661108https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/Exploit, Third Party Advisory

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "tlslite-ng",
              "vendor": "tlsfuzzer",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 0.7.6"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 0.8.0-alpha1, \u003c 0.8.0-alpha39"
                }
              ]
            }
          ],
          "source": "security-advisories@github.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "922C407E-BB06-4D96-915D-53E8D6A778FA",
                  "versionEndExcluding": "0.7.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha1:*:*:*:*:*:*",
                  "matchCriteriaId": "41334219-86D6-460A-9A42-CB5F49A07370",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha10:*:*:*:*:*:*",
                  "matchCriteriaId": "78D90DAD-4476-43C1-8080-39C8934CAD75",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha11:*:*:*:*:*:*",
                  "matchCriteriaId": "ABB5FF6F-8787-4CFF-9E12-ED04D1F1F62E",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha12:*:*:*:*:*:*",
                  "matchCriteriaId": "A49FD708-8BB2-44A6-925D-BB91D39FEB47",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha13:*:*:*:*:*:*",
                  "matchCriteriaId": "F463DA94-BC74-4B4F-A8AE-C6A95A4317DD",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha14:*:*:*:*:*:*",
                  "matchCriteriaId": "551EC405-8FAD-4363-9890-D489C1FF01EA",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha15:*:*:*:*:*:*",
                  "matchCriteriaId": "653586A3-0277-4601-A969-9E729E41A768",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha16:*:*:*:*:*:*",
                  "matchCriteriaId": "E085097C-6EA8-4657-8781-DE1C5860AD56",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha17:*:*:*:*:*:*",
                  "matchCriteriaId": "F692C0B9-9A07-42FC-B074-A8DD5101ADEC",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha18:*:*:*:*:*:*",
                  "matchCriteriaId": "8CFE99BB-6F4F-4BF9-89ED-D596BF39C2A2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha19:*:*:*:*:*:*",
                  "matchCriteriaId": "28D9E3CE-7132-4D04-86F3-4964EF8F0ED8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha2:*:*:*:*:*:*",
                  "matchCriteriaId": "98456B38-9F6A-42DD-BBC6-26F304838E84",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha20:*:*:*:*:*:*",
                  "matchCriteriaId": "1C19B4C9-950A-44D2-BE00-36A3F1A70196",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha21:*:*:*:*:*:*",
                  "matchCriteriaId": "6AEAB2E9-C5F1-4267-9BE4-BA2711763D03",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha22:*:*:*:*:*:*",
                  "matchCriteriaId": "0E6E006A-A21A-46B3-8C4E-8262800A6EBF",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha23:*:*:*:*:*:*",
                  "matchCriteriaId": "829BBEA3-4B90-4A82-BD66-3C82F8B0F32A",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha24:*:*:*:*:*:*",
                  "matchCriteriaId": "B206A632-8706-4A5E-B311-145C42285E43",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha25:*:*:*:*:*:*",
                  "matchCriteriaId": "83B25DDD-8646-4BBD-80BB-05A9027CE605",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha26:*:*:*:*:*:*",
                  "matchCriteriaId": "AF94B0C3-9371-40F2-9EB6-138A4DF3F21B",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha27:*:*:*:*:*:*",
                  "matchCriteriaId": "67D51BC9-349D-4368-A907-7966FB07B6C1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha28:*:*:*:*:*:*",
                  "matchCriteriaId": "6B83312D-CA75-4A46-89D5-0C0926641134",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha29:*:*:*:*:*:*",
                  "matchCriteriaId": "1670222D-6BA9-4318-9133-14371C7A2646",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha3:*:*:*:*:*:*",
                  "matchCriteriaId": "31F4BA2A-07CE-4C4C-8B76-2E1AAF1CC815",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha30:*:*:*:*:*:*",
                  "matchCriteriaId": "ACE81D58-4E72-4624-B58A-7D26B7A4EF32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha31:*:*:*:*:*:*",
                  "matchCriteriaId": "0AC17949-097A-44F8-86BE-37A398E5BB0B",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha32:*:*:*:*:*:*",
                  "matchCriteriaId": "54CF2D72-28D1-4F51-BD82-6DDC93CC6450",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha33:*:*:*:*:*:*",
                  "matchCriteriaId": "70BCF5EB-87A4-476F-B8A4-D74380C90870",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha34:*:*:*:*:*:*",
                  "matchCriteriaId": "4F3608F9-84A1-44AA-BFD2-8619B9F3EBBD",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha35:*:*:*:*:*:*",
                  "matchCriteriaId": "FF214E4D-9F57-417B-891C-04BD59ED6294",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha36:*:*:*:*:*:*",
                  "matchCriteriaId": "DE96C06B-4E60-4F2A-A8AD-4C5AC7AA825A",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha37:*:*:*:*:*:*",
                  "matchCriteriaId": "F7DDC2A7-B696-4CEC-A5E9-B53B60FB8046",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha38:*:*:*:*:*:*",
                  "matchCriteriaId": "0CB290DB-1282-472C-AD13-9EBB2131B1AB",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha4:*:*:*:*:*:*",
                  "matchCriteriaId": "1A7F15B4-3E5E-42F8-BEE5-4C8D82504905",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha5:*:*:*:*:*:*",
                  "matchCriteriaId": "6589EE4A-70A6-48BF-9252-99A015E0D5E7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha6:*:*:*:*:*:*",
                  "matchCriteriaId": "5390CCC5-7ED9-4FB9-91CF-2E686B40870B",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha7:*:*:*:*:*:*",
                  "matchCriteriaId": "2413504E-50D6-4E3E-8602-4BE4553A21CB",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha8:*:*:*:*:*:*",
                  "matchCriteriaId": "7A12B29A-FC8A-4964-BE9E-8CDECE941C64",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:0.8.0:alpha9:*:*:*:*:*:*",
                  "matchCriteriaId": "2A4BD540-F653-4D48-8B4D-A15EBBADA896",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027t 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."
        },
        {
          "lang": "es",
          "value": "tlslite-ng es una biblioteca de Python de c\u00f3digo abierto que implementa protocolos criptogr\u00e1ficos SSL y TLS.\u0026#xa0;En tlslite-ng versiones anteriores a 0.7.6 y 0.8.0-alpha39, el c\u00f3digo que lleva a cabo el descifrado y la comprobaci\u00f3n de relleno en el descifrado RSA PKCS#1 versi\u00f3n v1.5 es dependiente de los datos.\u0026#xa0;En particular, el c\u00f3digo presenta varias formas en la cual se filtra informaci\u00f3n sobre el texto cifrado descifrado.\u0026#xa0;Anula tan pronto como el texto plano no comience con 0x00, 0x02.\u0026#xa0;Todos los servidores TLS que permiten el intercambio de claves RSA, as\u00ed como las aplicaciones que usan la API de descifrado RSA directamente, son vulnerables.\u0026#xa0;Esto est\u00e1 parcheado en las versiones 0.7.6 y 0.8.0-alpha39.\u0026#xa0;Nota: los parches dependen de que Python procese los bytes individuales de manera libre de canal lateral, se sabe que este no es el caso (ver referencia).\u0026#xa0;Como tal, se recomienda a los usuarios que requieren resistencia de canal lateral que utilicen diferentes implementaciones de TLS"
        }
      ],
      "id": "CVE-2020-26263",
      "lastModified": "2026-06-17T03:07:57.120",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "NONE",
              "baseScore": 5.0,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "NONE",
              "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 2.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "security-advisories@github.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2020-12-21T17:15:12.637",
      "references": [
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/438"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/439"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Exploit",
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Product",
            "Third Party Advisory"
          ],
          "url": "https://pypi.org/project/tlslite-ng/"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/438"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/439"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Product",
            "Third Party Advisory"
          ],
          "url": "https://pypi.org/project/tlslite-ng/"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/"
        }
      ],
      "sourceIdentifier": "security-advisories@github.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-326"
            }
          ],
          "source": "security-advisories@github.com",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2018-1000159

    Vulnerability from fkie_nvd - Published: 2018-04-18 19:29 - Updated: 2026-06-17 01:32
    Summary
    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.
    Impacted products
    Vendor Product Version
    tlslite-ng_project tlslite-ng *

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "source": "cve@mitre.org"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:tlslite-ng_project:tlslite-ng:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5E9B247E-CE69-4AB6-BCAB-98A2CD5154FA",
                  "versionEndIncluding": "0.7.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        },
        {
          "lang": "es",
          "value": "tlslite-ng, en versiones 0.7.3 y anteriores, desde el commit con ID d7b288316bca7bcdd082e6ccff5491e241305233, contiene un CWE-354: vulnerabilidad de validaci\u00f3n incorrecta del valor de comprobaci\u00f3n de integridad en la implementaci\u00f3n TLS, tlslite/utils/constanttime.py: ct_check_cbc_mac_and_pad(); en la l\u00ednea \"end_pos = data_len - 1 - mac.digest_size\" que puede resultar en que un atacante manipule el texto cifrado TLS, que no ser\u00e1 detectado por recibir tlslite-ng. El ataque parece ser explotable mediante un Man-in-the-Middle (MitM) en una conexi\u00f3n de red. La vulnerabilidad parece haber sido solucionada tras el commit con ID 3674815d1b0f7484454995e2737a352e0a6a93d8."
        }
      ],
      "id": "CVE-2018-1000159",
      "lastModified": "2026-06-17T01:32:33.520",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "MEDIUM",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "NONE",
              "baseScore": 4.3,
              "confidentialityImpact": "NONE",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
              "version": "2.0"
            },
            "exploitabilityScore": 8.6,
            "impactScore": 2.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 5.9,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
              "version": "3.0"
            },
            "exploitabilityScore": 2.2,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2018-04-18T19:29:00.333",
      "references": [
        {
          "source": "cve@mitre.org",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://github.com/tomato42/tlslite-ng/pull/234"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://github.com/tomato42/tlslite-ng/pull/234"
        }
      ],
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-354"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    }

    CVE-2020-26263 (GCVE-0-2020-26263)

    Vulnerability from nvd – Published: 2020-12-21 16:55 – Updated: 2024-08-04 15:56
    VLAI
    Title
    RSA vulnerability in tslite-ng
    Summary
    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.
    CWE
    • CWE-326 - Inadequate Encryption Strength
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 7808 records in the last 180 days details
    Impacted products
    Vendor Product Version
    tlsfuzzer tlslite-ng Affected: < 0.7.6
    Affected: >= 0.8.0-alpha1, < 0.8.0-alpha39
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-04T15:56:03.863Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/438"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/439"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://pypi.org/project/tlslite-ng/"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "tlslite-ng",
              "vendor": "tlsfuzzer",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 0.7.6"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 0.8.0-alpha1, \u003c 0.8.0-alpha39"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027t 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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-326",
                  "description": "CWE-326 Inadequate Encryption Strength",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-12-21T16:55:18.000Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "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"
            }
          ],
          "source": {
            "advisory": "GHSA-wvcv-832q-fjg7",
            "discovery": "UNKNOWN"
          },
          "title": "RSA vulnerability in tslite-ng",
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security-advisories@github.com",
              "ID": "CVE-2020-26263",
              "STATE": "PUBLIC",
              "TITLE": "RSA vulnerability in tslite-ng"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "tlslite-ng",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "\u003c 0.7.6"
                              },
                              {
                                "version_value": "\u003e= 0.8.0-alpha1, \u003c 0.8.0-alpha39"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "tlsfuzzer"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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\u0027t 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."
                }
              ]
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-326 Inadequate Encryption Strength"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7",
                  "refsource": "CONFIRM",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
                },
                {
                  "name": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/",
                  "refsource": "MISC",
                  "url": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/"
                },
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/pull/438",
                  "refsource": "MISC",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/438"
                },
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/pull/439",
                  "refsource": "MISC",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/439"
                },
                {
                  "name": "https://pypi.org/project/tlslite-ng/",
                  "refsource": "MISC",
                  "url": "https://pypi.org/project/tlslite-ng/"
                },
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368",
                  "refsource": "MISC",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368"
                }
              ]
            },
            "source": {
              "advisory": "GHSA-wvcv-832q-fjg7",
              "discovery": "UNKNOWN"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2020-26263",
        "datePublished": "2020-12-21T16:55:18.000Z",
        "dateReserved": "2020-10-01T00:00:00.000Z",
        "dateUpdated": "2024-08-04T15:56:03.863Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2018-1000159 (GCVE-0-2018-1000159)

    Vulnerability from nvd – Published: 2018-04-18 19:00 – Updated: 2024-08-05 12:33
    VLAI
    Summary
    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.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Assigner
    mitre CNA under the mitre root
    CNA scorecard E 30/100 over 1987 records in the last 180 days details
    References
    Date Public
    2018-04-18 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T12:33:49.333Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tomato42/tlslite-ng/pull/234"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "dateAssigned": "2018-04-06T00:00:00.000Z",
          "datePublic": "2018-04-18T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2018-04-18T18:57:01.000Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/tomato42/tlslite-ng/pull/234"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "DATE_ASSIGNED": "2018-04-06T14:09:26.582381",
              "DATE_REQUESTED": "2018-03-27T07:54:48",
              "ID": "CVE-2018-1000159",
              "REQUESTER": "hkario@redhat.com",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/tomato42/tlslite-ng/pull/234",
                  "refsource": "MISC",
                  "url": "https://github.com/tomato42/tlslite-ng/pull/234"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2018-1000159",
        "datePublished": "2018-04-18T19:00:00.000Z",
        "dateReserved": "2018-03-27T00:00:00.000Z",
        "dateUpdated": "2024-08-05T12:33:49.333Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2020-26263 (GCVE-0-2020-26263)

    Vulnerability from cvelistv5 – Published: 2020-12-21 16:55 – Updated: 2024-08-04 15:56
    VLAI
    Title
    RSA vulnerability in tslite-ng
    Summary
    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.
    CWE
    • CWE-326 - Inadequate Encryption Strength
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 7808 records in the last 180 days details
    Impacted products
    Vendor Product Version
    tlsfuzzer tlslite-ng Affected: < 0.7.6
    Affected: >= 0.8.0-alpha1, < 0.8.0-alpha39
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-04T15:56:03.863Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/438"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/439"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://pypi.org/project/tlslite-ng/"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "tlslite-ng",
              "vendor": "tlsfuzzer",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 0.7.6"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 0.8.0-alpha1, \u003c 0.8.0-alpha39"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027t 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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-326",
                  "description": "CWE-326 Inadequate Encryption Strength",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-12-21T16:55:18.000Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "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"
            }
          ],
          "source": {
            "advisory": "GHSA-wvcv-832q-fjg7",
            "discovery": "UNKNOWN"
          },
          "title": "RSA vulnerability in tslite-ng",
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security-advisories@github.com",
              "ID": "CVE-2020-26263",
              "STATE": "PUBLIC",
              "TITLE": "RSA vulnerability in tslite-ng"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "tlslite-ng",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "\u003c 0.7.6"
                              },
                              {
                                "version_value": "\u003e= 0.8.0-alpha1, \u003c 0.8.0-alpha39"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "tlsfuzzer"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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\u0027t 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."
                }
              ]
            },
            "impact": {
              "cvss": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-326 Inadequate Encryption Strength"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7",
                  "refsource": "CONFIRM",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/security/advisories/GHSA-wvcv-832q-fjg7"
                },
                {
                  "name": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/",
                  "refsource": "MISC",
                  "url": "https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/"
                },
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/pull/438",
                  "refsource": "MISC",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/438"
                },
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/pull/439",
                  "refsource": "MISC",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/pull/439"
                },
                {
                  "name": "https://pypi.org/project/tlslite-ng/",
                  "refsource": "MISC",
                  "url": "https://pypi.org/project/tlslite-ng/"
                },
                {
                  "name": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368",
                  "refsource": "MISC",
                  "url": "https://github.com/tlsfuzzer/tlslite-ng/commit/c28d6d387bba59d8bd5cb3ba15edc42edf54b368"
                }
              ]
            },
            "source": {
              "advisory": "GHSA-wvcv-832q-fjg7",
              "discovery": "UNKNOWN"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2020-26263",
        "datePublished": "2020-12-21T16:55:18.000Z",
        "dateReserved": "2020-10-01T00:00:00.000Z",
        "dateUpdated": "2024-08-04T15:56:03.863Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2018-1000159 (GCVE-0-2018-1000159)

    Vulnerability from cvelistv5 – Published: 2018-04-18 19:00 – Updated: 2024-08-05 12:33
    VLAI
    Summary
    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.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Assigner
    mitre CNA under the mitre root
    CNA scorecard E 30/100 over 1987 records in the last 180 days details
    References
    Date Public
    2018-04-18 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T12:33:49.333Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/tomato42/tlslite-ng/pull/234"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "dateAssigned": "2018-04-06T00:00:00.000Z",
          "datePublic": "2018-04-18T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2018-04-18T18:57:01.000Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/tomato42/tlslite-ng/pull/234"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "DATE_ASSIGNED": "2018-04-06T14:09:26.582381",
              "DATE_REQUESTED": "2018-03-27T07:54:48",
              "ID": "CVE-2018-1000159",
              "REQUESTER": "hkario@redhat.com",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "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."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/tomato42/tlslite-ng/pull/234",
                  "refsource": "MISC",
                  "url": "https://github.com/tomato42/tlslite-ng/pull/234"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2018-1000159",
        "datePublished": "2018-04-18T19:00:00.000Z",
        "dateReserved": "2018-03-27T00:00:00.000Z",
        "dateUpdated": "2024-08-05T12:33:49.333Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }