1. Archivio CVE
  2. 2026
  3. CVE-2026-142382

CVE-2026-142382

2.1 Gravità bassa CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 2.1 – Bassa

Descrizione

Cleartext Transmission of Sensitive Information (CWE-319) in whatstk/data.py in whatstk from 0.3.0 before 0.9.0 allows an attacker on the network path between the user and raw.githubusercontent.com to substitute the sample chat files the library downloads. The module builds chats_folder on the http scheme, and every entry of whatsapp_urls, which is the documented way to load a sample chat, inherits that prefix. _str_from_file() passes any path beginning with http to urlopen(), which follows GitHub's 301 redirect to HTTPS, but the first request has already travelled in cleartext on port 80, so an attacker who answers before the redirect supplies the file that is parsed. The scheme appears 15 times across 7 files of the affected releases: the sample URLs themselves, a docstring that renders in the API reference, the test suite, and four documentation pages that readers copy from. The project URL published to PyPI uses http as well. The files served are public sample chats, so what the attacker gains is control of the content the library parses rather than sight of anything confidential.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lucasrodes whatstk >= 0.3.0 < 0.9.0 python

Tipo di vulnerabilità

CWE-319 Trasmissione in chiaro di informazioni sensibili

Il prodotto trasmette dati sensibili o critici per la sicurezza senza cifrarli, su un canale che può essere intercettato.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza Leggere i dati dell’applicazione, Modificare file o cartelle
Integrità, Riservatezza Leggere i dati dell’applicazione, Modificare file o cartelle, Altro

Come si previene

Architettura e progettazione Before transmitting, encrypt the data using reliable, confidentiality-protecting cryptographic protocols.
Sviluppo When using web applications with SSL, use SSL for the entire session from login to logout, not just for the initial login page.
Sviluppo When designing hardware platforms, ensure that approved encryption algorithms (such as those recommended by NIST) protect paths from security critical data to trusted user applications.
Test Usa strumenti e tecniche che richiedono un’analisi manuale, come i penetration test, la modellazione delle minacce e strumenti interattivi che permettono a chi testa di registrare e modificare una sessione attiva. Possono essere più efficaci delle tecniche solo automatiche, soprattutto per gli errori legati alla progettazione e alle regole di business.
Esercizio Configure servers to use encrypted channels for communication, which may include SSL or other secure protocols.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 941 CVE di tipo CWE-319, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org