JeecgBoot/jeecg-boot/jeecg-boot-module
scott f7eb9f38dc SSRF 地址校验补全(GHSA-5g5g / GHSA-2m5w / GHSA-hw5p)
- 补拦 0.0.0.0 及 IPv6 内嵌本机/链路本地地址(NAT64、6to4、Teredo、IPv4 兼容/映射)
- 新增 jeecg.firewall.allowLocalAddress(默认 true,false 时拦截内网)、localAddressWhiteList(IP/网段/域名/地址:端口,命中即放行,云元数据除外)
- 访问本服务自身(本机地址 + 本服务端口)放行
- 校验逻辑抽到 LocalAddressCheckUtils,SsrfFileTypeFilter.checkSsrfHttpUrl 保留并委托
- 匿名 AI 附件存储地址改为按主机名+端口精确比对,下沉为 CommonUtils.extractStorageRelativePath

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 06:38:41 -04:00
..
2026-08-26 10:36:16 +08:00
2026-08-26 10:36:16 +08:00