目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-103502— hex_core默认HTTP适配器未验证TLS证书(OTP 24/25)

一分钟漏洞结论

影响对象
hexpm hex_core
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

不当证书验证漏洞描述 在 库中存在不当证书验证(Improper Certificate Validation)漏洞。该漏洞允许攻击者在能够拦截 HTTPS 连接的情况下,冒充 、 或使用 默认 HTTP 适配器的其他仓库/API 服务器。此影响范围涵盖运行在 Erlang/OTP 24 上的程序,以及在操作系统无法加载 CA(证书颁发机构)证书时运行在 OTP 25 上的程序。 函数会选择内置的 适配器。对于没有配置 选项的 HTTPS 请求, 会构建基于 的服务器证书验证选项。然而,当 调用抛出异常时,适配器会

CVSS 5.9 · Medium

影响版本矩阵 2

厂商产品 版本范围状态
hexpm hex_core 0.1.0< 0.20.0 affected
fbb6d9de472e5edb8d6fb6b32a91cb266137892e< b7b3a42defb4ed8e20a5c68a4412ce68a95b7938 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-103502 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
hex_core's default HTTP adapter doesn't verify TLS certificates on OTP 24 and 25
来源: CVE Program / CVE List V5
Vulnerability Description
Improper Certificate Validation vulnerability in hexpm hex_core allows an attacker who can intercept HTTPS connections to impersonate hex.pm, repo.hex.pm or any other repository or API server to programs that use hex_core's default HTTP adapter on Erlang/OTP 24, or on OTP 25 when the operating system's CA certificates can't be loaded. hex_core:default_config/0 selects the built-in hex_http_httpc adapter. For an HTTPS request whose adapter config has no ssl option, hex_http_httpc:http_options/2 builds options that verify the server certificate against public_key:cacerts_get/0. When that call raises, the adapter prints a warning and sends the request without ssl options, so httpc uses the defaults of the ssl application, which before OTP 26 don't verify the server certificate. public_key:cacerts_get/0 doesn't exist on OTP 24, so every HTTPS request falls back there, and on OTP 25 it raises when no CA store is found. hex_core versions before 0.11.0 never set ssl options, so they don't verify the server certificate on OTP 25 and earlier whether or not a CA store is found. The fallback was intended and documented, but the documentation didn't make clear that it meant no certificate verification. Since hex_core 0.8.2 the README has warned that the built-in httpc adapter "has insecure default settings" and recommended other HTTP clients, and the adapter prints "using default ssl options which are insecure" on every request that falls back. hex_core 0.11.0 added certificate verification with the changelog entry "Use secure SSL defaults for OTP 25+". Neither the README nor the warning says that the server certificate isn't verified, the README doesn't say which OTP versions the warning applies to, and on OTP 25 without CA certificates the warning tells users to upgrade to OTP 25 or later, which they already run. This advisory is published so that users who took those notices as general advice know their HTTPS requests weren't authenticated. This issue affects hex_core: from 0.1.0 before 0.20.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
证书验证不恰当
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
hexpm hex_core 0.1.0 ~ 0.20.0 cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
hexpm hex_core fbb6d9de472e5edb8d6fb6b32a91cb266137892e ~ b7b3a42defb4ed8e20a5c68a4412ce68a95b7938 cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-103502 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-103502 的情报信息

请登录查看更多情报信息。

CVE-2026-103502 补丁与修复 (1)

CVE-2026-103502 厂商安全公告 (2)

CVE-2026-103502 其他参考 (1)

同批安全公告 · hexpm · 2026-10-12 · 共 7 条

CVE-2026-96612 7.5 HIGH Hex 通过未验证的依赖应用名实现路径遍历漏洞
CVE-2026-105668 7.1 HIGH Hex 发布年龄冷却包级提升漏洞
CVE-2026-105280 6.9 MEDIUM Hex mix hex.package fetch 未验证包输出漏洞
CVE-2026-103503 5.9 MEDIUM Hex cacerts_path 配置信任捆绑CA证书漏洞
CVE-2026-81856 2.3 LOW Hex 终端转义序列注入漏洞
CVE-2026-96618 2.1 LOW Hex内存与磁盘耗尽漏洞(过大或压缩响应)

IV. Related Vulnerabilities

V. Comments for CVE-2026-103502

暂无评论


发表评论