Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

SUSE-SU-2023:4043-1

Опубликовано: 11 окт. 2023
Источник: suse-cvrf

Описание

Security update for curl

This update for curl fixes the following issues:

  • CVE-2023-38545: Fixed a heap buffer overflow in SOCKS5. (bsc#1215888)
  • CVE-2023-38546: Fixed a cookie injection with none file. (bsc#1215889)

Список пакетов

Container suse/ltss/sle12.5/sles12sp5:latest
libcurl4-8.0.1-11.74.1
Container suse/sles12sp5:latest
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-BYOS
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-Basic-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-HPC-BYOS
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-HPC-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-SAP-BYOS
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-SAP-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-Standard-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-EC2-BYOS
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-EC2-ECS-On-Demand
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-EC2-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-EC2-SAP-BYOS
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-EC2-SAP-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-GCE-BYOS
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-GCE-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-GCE-SAP-BYOS
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-GCE-SAP-On-Demand
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-SAP-Azure-LI-BYOS-Production
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
Image SLES12-SP5-SAP-Azure-VLI-BYOS-Production
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
SUSE Linux Enterprise Server 12 SP5
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
libcurl4-32bit-8.0.1-11.74.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5
curl-8.0.1-11.74.1
libcurl4-8.0.1-11.74.1
libcurl4-32bit-8.0.1-11.74.1
SUSE Linux Enterprise Software Development Kit 12 SP5
libcurl-devel-8.0.1-11.74.1

Описание

This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is asked to pass along the host name to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that host name can be is 255 bytes. If the host name is detected to be longer, curl switches to local name resolving and instead passes on the resolved address only. Due to this bug, the local variable that means "let the host resolve the name" could get the wrong value during a slow SOCKS5 handshake, and contrary to the intention, copy the too long host name to the target buffer instead of copying just the resolved address there. The target buffer being a heap based buffer, and the host name coming from the URL that curl has been told to operate with.


Затронутые продукты
Container suse/ltss/sle12.5/sles12sp5:latest:libcurl4-8.0.1-11.74.1
Container suse/sles12sp5:latest:libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-BYOS:curl-8.0.1-11.74.1
Image SLES12-SP5-Azure-BYOS:libcurl4-8.0.1-11.74.1

Ссылки

Описание

This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of conditions are met. libcurl performs transfers. In its API, an application creates "easy handles" that are the individual handles for single transfers. libcurl provides a function call that duplicates en easy handle called [curl_easy_duphandle](https://curl.se/libcurl/c/curl_easy_duphandle.html). If a transfer has cookies enabled when the handle is duplicated, the cookie-enable state is also cloned - but without cloning the actual cookies. If the source handle did not read any cookies from a specific file on disk, the cloned version of the handle would instead store the file name as `none` (using the four ASCII letters, no quotes). Subsequent use of the cloned handle that does not explicitly set a source to load cookies from would then inadvertently load cookies from a file named `none` - if such a file exists and is readable in the current directory of the program using libcurl. And if using the correct file format of course.


Затронутые продукты
Container suse/ltss/sle12.5/sles12sp5:latest:libcurl4-8.0.1-11.74.1
Container suse/sles12sp5:latest:libcurl4-8.0.1-11.74.1
Image SLES12-SP5-Azure-BYOS:curl-8.0.1-11.74.1
Image SLES12-SP5-Azure-BYOS:libcurl4-8.0.1-11.74.1

Ссылки