CVE-2023-38545

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.

公開: 2023-10-18 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-38545 は高リスク(79/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 78.48%、100 パーセンタイル) 根拠: EPSS 上、短期間での悪用可能性は高い水準です。 直近 1 日で EPSS が +52.23% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 悪用可能性が高いため、影響範囲の確認と修補の優先付けを推奨します。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2023-38545 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 26.25% 78.48% +52.23%
2 2026-06-09 26.75% 26.25% -0.50%
3 2026-05-27 26.75%

EPSS の全履歴 (全 65 件)

CVE-2023-38545 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 5.9 [email protected]
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.8 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVE-2023-38545 の弱点分類(列挙)

CVE-2023-38545 の GitHub Security Advisory

GHSA-7xw9-w465-6x42 · 深刻度: critical — This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is...

CVE-2023-38545 の OS トラッカー

vendor priority summary link
alpine CVE-2023-38545: 1 source package rows (curl); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2023-38545
debian not yet assigned CVE-2023-38545 not yet assigned priority: Debian including 1 source packages (curl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-38545
gentoo high CVE-2023-38545: 1 GLSA(s) (202310-12), 1 atom(s) (net-misc/curl); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-38545
redhat high https://access.redhat.com/security/cve/CVE-2023-38545
suse high CVE-2023-38545 severity important: SUSE including 335 source package names (1.2.3-2.2.19:libcurl4-8.0.1-150400.5.32.1, 1.2.3-3.2.19:libcurl4-8.0.1-150400.5.32.1, …), 780 product×package rows across 229 product lines (Container bci/bci-init, Container bci/golang, … (229 product lines)): Fixed 501, Known Affected 186, Known Not Affected 93. https://www.suse.com/security/cve/CVE-2023-38545/
ubuntu high CVE-2023-38545 high priority: Ubuntu including 1 source packages (curl), 9 status rows across 9 suites (bionic, focal, jammy, lunar, mantic, noble, trusty, upstream, xenial): not-affected 4, released 4, needs-triage 1. https://ubuntu.com/security/CVE-2023-38545

CVE-2023-38545 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
haxx libcurl >= 7.69.0, < 8.4.0 cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
netapp active_iq_unified_manager cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
netapp active_iq_unified_manager cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
netapp oncommand_insight cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*
netapp oncommand_workflow_automation cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*
microsoft windows_10_1809 < 10.0.17763.5122 cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:*
microsoft windows_10_21h2 < 10.0.19044.3693 cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:*
microsoft windows_10_22h2 < 10.0.19045.3693 cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:*
microsoft windows_11_21h2 < 10.0.22000.2600 cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:*:*
microsoft windows_11_22h2 < 10.0.22621.2715 cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:*
microsoft windows_11_23h2 < 10.0.22631.2715 cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:*
microsoft windows_server_2019 < 10.0.17763.5122 cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*
microsoft windows_server_2022 < 10.0.20348.2113 cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*

CVE-2023-38545 の参考情報

URL タグ
http://seclists.org/fulldisclosure/2024/Jan/34 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jan/37 Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2024/Jan/38 Mailing List Third Party Advisory
https://curl.se/docs/CVE-2023-38545.html Patch Third Party Advisory
https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868
https://lists.fedoraproject.org/archives/list/[email protected]/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/ Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20231027-0009/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20240201-0005/ Third Party Advisory
https://support.apple.com/kb/HT214036 Third Party Advisory
https://support.apple.com/kb/HT214057 Third Party Advisory
https://support.apple.com/kb/HT214058 Third Party Advisory
https://support.apple.com/kb/HT214063 Third Party Advisory
https://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/ Patch Third Party Advisory
https://cert-portal.siemens.com/productcert/html/ssa-082556.html
https://cert-portal.siemens.com/productcert/html/ssa-093430.html
https://cert-portal.siemens.com/productcert/html/ssa-507364.html
https://cert-portal.siemens.com/productcert/html/ssa-832273.html
https://cert-portal.siemens.com/productcert/html/ssa-943925.html
https://github.com/UTsweetyfish/CVE-2023-38545
https://github.com/bcdannyboy/CVE-2023-38545
https://github.com/dbrugman/CVE-2023-38545-POC
cvelogic Threat Intelligence