Katalog CVE

CVE-2022-32205

ŚrednieCVSS 4.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Bardzo wysokie ryzyko
27.90%

Percentyl 98 - wyżej niż 98% wszystkich znanych CVE

Streszczenie

Złośliwy serwer może wysłać nadmierną liczbę nagłówków `Set-Cookie:` w odpowiedzi HTTP do curl, a curl w wersjach poniżej 7.84.0 przechowuje je wszystkie. Wystarczająco duża liczba dużych plików cookie powoduje, że kolejne żądania HTTP stają się większe niż wewnętrzny próg curl (1048576 bajtów), co skutkuje zwróceniem błędu.

Ocena ryzyka

Stan odmowy usługi może utrzymywać się tak długo, jak długo te same pliki cookie są przechowywane i pasują. Ze względu na zasady dopasowywania plików cookie serwer na foo.example.com może ustawić pliki cookie pasujące również do bar.example.com, umożliwiając atak na witrynę siostrzaną w tej samej domenie drugiego poziomu.

Rekomendacja

Należy zaktualizować curl do wersji 7.84.0 lub nowszej, która ogranicza liczbę przechowywanych plików cookie.

Inne podatności w curl

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers to which the cookies match, create requests that become larger than the threshold that curl uses internally to avoid sending crazy large requests (1048576 bytes) and instead returns an error.This denial state might remain for as long as the same cookies are kept, match and haven't expired. Due to cookie matching rules, a server on `foo.example.com` can set cookies that also would match for `bar.example.com`, making it it possible for a "sister server" to effectively cause a denial of service for a sibling site on the same second level domain using this method.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS