1. Archivio CVE
  2. 2021
  3. CVE-2021-23336

CVE-2021-23336

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H 5.9 – Media

Descrizione

The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 9.0 –
djangoproject django >= 2.2 < 2.2.19 –
djangoproject django >= 3.0 < 3.0.13 –
djangoproject django >= 3.1 < 3.1.7 –
fedoraproject fedora 32 –
fedoraproject fedora 33 –
fedoraproject fedora 34 –
netapp cloud backup tutte –
netapp inventory collect tool tutte –
netapp ontap select deploy administration utility tutte –
netapp snapcenter tutte –
oracle communications offline mediation controller 12.0.0.3.0 –
oracle communications pricing design center 12.0.0.3.0 –
oracle enterprise manager ops center 12.4.0.0 –
oracle zfs storage appliance 8.8 –
python python < 3.6.13 –
python python >= 3.7.0 < 3.7.10 –
python python >= 3.8.0 < 3.8.8 –
python python >= 3.9.0 < 3.9.2 –
Tutte le 143 vulnerabilità di Python

Tipo di vulnerabilità

CWE-444 HTTP request smuggling: interpretazione incoerente delle richieste HTTP

Il prodotto fa da intermediario HTTP (proxy, firewall) tra client e server, ma interpreta le richieste o risposte malformate in modo diverso da come le interpreterà la destinazione finale: un attaccante può così far passare richieste nascoste.

Impatto sui sistemi

AmbitoImpatto
Integrità, Non ripudio, Controllo degli accessi Stato imprevisto, Nascondere le proprie attività, Aggirare i meccanismi di protezione

Come si previene

Sviluppo Use a web server that employs a strict HTTP parsing procedure, such as Apache.
Sviluppo Use only SSL communication.
Sviluppo Terminate the client session after each request.
Configurazione del sistema Turn all pages to non-cacheable.

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

Tutte le 454 CVE di tipo CWE-444, con andamento e prevenzione

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