Vulnerabilidades / CVE-2023-38545

crítica

CVE-2023-38545

curl: heap based buffer overflow in the SOCKS5 proxy handshake

Publicada Modificada CWE 787
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Azure Linux, CBL-Mariner, Julia, Photon OS. Más baja según Red Hat (alta), AlmaLinux (alta), Amazon (alta), Oracle (alta), Rocky Linux (alta), Ubuntu (alta).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Azure Linux 3.0cmake, tensorflow0:3.21.4-10.azl3 y 1 más
CBL-Mariner 2.0cmake, curl0:3.21.4-10.cm2 y 1 más
julia::Julia Ecosystem Security AdvisoriesCURL_jll, LibCURL_jll8.5.0+0 y 1 más
Photon OS 3.0curl8.1.2-4.ph3
Photon OS 4.0curl, curl-devel, curl-libs8.1.2-6.ph4
Photon OS 5.0curl, curl-devel, curl-libs8.1.2-6.ph5
alma 9curl, curl-minimal, libcurl y 2 más7.76.1-26.el9_3.2
alpine 3.15curl8.4.0-r0
alpine 3.16curl8.4.0-r0
alpine 3.17curl8.4.0-r0
alpine 3.18curl8.4.0-r0
alpine 3.19curl8.4.0-r0
Mostrar las 93 entradas de 45 fuentes
FuentePaqueteCorregido en
Azure Linux 3.0cmake0:3.21.4-10.azl3
Azure Linux 3.0tensorflow0:2.16.1-1.azl3
CBL-Mariner 2.0cmake0:3.21.4-10.cm2
CBL-Mariner 2.0curl0:8.3.0-2.cm2
julia::Julia Ecosystem Security AdvisoriesCURL_jll8.5.0+0
julia::Julia Ecosystem Security AdvisoriesLibCURL_jll8.4.0+0
Photon OS 3.0curl8.1.2-4.ph3
Photon OS 4.0curl8.1.2-6.ph4
Photon OS 4.0curl-devel8.1.2-6.ph4
Photon OS 4.0curl-libs8.1.2-6.ph4
Photon OS 5.0curl8.1.2-6.ph5
Photon OS 5.0curl-devel8.1.2-6.ph5
Photon OS 5.0curl-libs8.1.2-6.ph5
alma 9curl7.76.1-26.el9_3.2
alma 9curl-minimal7.76.1-26.el9_3.2
alma 9libcurl7.76.1-26.el9_3.2
alma 9libcurl-devel7.76.1-26.el9_3.2
alma 9libcurl-minimal7.76.1-26.el9_3.2
alpine 3.15curl8.4.0-r0
alpine 3.16curl8.4.0-r0
alpine 3.17curl8.4.0-r0
alpine 3.18curl8.4.0-r0
alpine 3.19curl8.4.0-r0
alpine 3.20curl8.4.0-r0
alpine 3.21curl8.4.0-r0
alpine 3.22curl8.4.0-r0
alpine 3.23curl8.4.0-r0
alpine 3.24curl8.4.0-r0
alpine edgecurl8.4.0-r0
amazon linux 2curl8.3.0-1.amzn2.0.4
amazon linux 2curl-debuginfo8.3.0-1.amzn2.0.4
amazon linux 2libcurl8.3.0-1.amzn2.0.4
amazon linux 2libcurl-devel8.3.0-1.amzn2.0.4
amazon linux 2023curl8.3.0-1.amzn2023.0.2
amazon linux 2023curl-debuginfo8.3.0-1.amzn2023.0.2
amazon linux 2023curl-debugsource8.3.0-1.amzn2023.0.2
amazon linux 2023curl-minimal8.3.0-1.amzn2023.0.2
amazon linux 2023curl-minimal-debuginfo8.3.0-1.amzn2023.0.2
amazon linux 2023libcurl8.3.0-1.amzn2023.0.2
amazon linux 2023libcurl-debuginfo8.3.0-1.amzn2023.0.2
amazon linux 2023libcurl-devel8.3.0-1.amzn2023.0.2
amazon linux 2023libcurl-minimal8.3.0-1.amzn2023.0.2
amazon linux 2023libcurl-minimal-debuginfo8.3.0-1.amzn2023.0.2
chainguardcurl8.4.0-r0
chainguardcurl-rustls8.4.0-r0
conan::GitLab Advisory Database Communitylibcurl8.4.0
debian 11curl7.74.0-1.3+deb11u10
debian 12curl7.88.1-10+deb12u4
debian 13curl8.3.0-3
debian 14curl8.3.0-3
echocurl7.88.1-10+deb12u4
echocurl-7.69.17.69.1+e1
echocurl-8.1.18.1.1+e1
Oracle Linux 9curl7.76.1-26.el9_3.2
Oracle Linux 9curl-minimal7.76.1-26.el9_3.2
Oracle Linux 9libcurl7.76.1-26.el9_3.2
Oracle Linux 9libcurl-devel7.76.1-26.el9_3.2
Oracle Linux 9libcurl-minimal7.76.1-26.el9_3.2
rapidfort amazon linux 2023curl0:8.3.0-1.amzn2023.0.2
rapidfort amazon linux 2023curl-minimal8.3.0-1.amzn2023.0.2
rapidfort amazon linux 2023libcurl0:8.3.0-1.amzn2023.0.2
rapidfort amazon linux 2023libcurl-devel8.3.0-1.amzn2023.0.2
rapidfort amazon linux 2023rf-curl0:8.3.0-1.amzn2023.0.2
rapidfort Oracle Linux 9curl0:7.76.1-26.el9_3.2
rapidfort Oracle Linux 9curl-minimal0:7.76.1-26.el9_3.2
rapidfort Oracle Linux 9libcurl0:7.76.1-26.el9_3.2
rapidfort Oracle Linux 9libcurl-devel0:7.76.1-26.el9_3.2
rapidfort Oracle Linux 9libcurl-minimal0:7.76.1-26.el9_3.2
rapidfort ubuntu 20.04curl0:7.81.0-1ubuntu1.14
rapidfort ubuntu 20.04rf-curl0:7.81.0-1ubuntu1.14
rapidfort ubuntu 22.04curl0:7.81.0-1ubuntu1.14
rapidfort ubuntu 22.04rf-curl0:7.81.0-1ubuntu1.14
rapidfort ubuntu 24.04curl0:7.81.0-1ubuntu1.14
rapidfort ubuntu 24.04rf-curl0:7.81.0-1ubuntu1.14
Red Hatpuppet-agentsin corrección indicada
rocky 9curl0.0.0
rocky 9curl-minimal0.0.0
rocky 9libcurl0.0.0
rocky 9libcurl-devel0.0.0
rocky 9libcurl-minimal0.0.0
root.io debian 11rootio-curl7.74.0-1.3+deb11u10
root.io debian 12rootio-curl7.88.1-10+deb12u4
root.io debian 13rootio-curl8.3.0-3
seal debiancurl7.88.1-10+deb12u14+sp999
seal debianseal-curl7.88.1-10+deb12u14+sp999
seal Red Hat 8curl7.61.1-34.el8_10.3+sp999
seal Red Hat 8seal-curl7.61.1-34.el8_10.3+sp999
ubuntu 22.04curl7.81.0-1ubuntu1.14
ubuntu 23.04curl7.88.1-8ubuntu2.3
ubuntu 23.10curl8.2.1-1ubuntu3.1
ubuntu 24.04curl8.2.1-1ubuntu3.1
wolficurl8.4.0-r0
wolficurl-rustls8.4.0-r0

Referencias

Las 39 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.