You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Safer - Compatible Updates to Fix Vulnerable Dependencies #10
Hi there 👋,
I'm Safer Bot!
Safer is an open-source tool that automatically updates vulnerable dependencies to more secure and compatible versions. Our goal is to help maintainers keep their projects secure without breaking changes.
We ran Safer on your project at commit e9e0c81 and identified dependency updates that reduce vulnerabilities while preserving stability. Safer uses a compatibility-aware heuristic to select the most appropriate versions for each dependency.
Safer Report Summary:
Number of dependencies with vulnerabilities:
Before: 3 After: 0
Number of vulnerabilities:
Before: 63 After: 0
Before execution, total vulnerabilities were:
Low: 6, Medium: 30, High: 24, Critical: 3
After execution, total vulnerabilities are:
Low: 0, Medium: 0, High: 0, Critical: 0
I'm excited to contribute to the open source community with my tool and would be happy to assist with any questions or feedback.
Feel free to reply to this issue and I'll respond as soon as possible.
Boot 2 security baseline has now followed feature → test → main: PR #12 merged into test/20261118, then PR #13 merged into main at 699d419. JDK 8 local clean verify passed (one actual lookup test); feature PR CI, test push CI, main PR CI, and main push CI run 44169757504 all passed. A fresh OSV Scanner 2.5.1 scan of the candidate resolved POM still reports 11 findings in Spring Boot 2.7.18 and Spring Framework 5.3.39, so this issue remains open. The Boot 3/4 version-line feature branches are separate and unmerged.
Activity
loong10k commentedon Oct 28, 2026
重新核对了各版本线的完整依赖树,原 Safer 报告对应旧提交,不能直接沿用其“63→0”结论。
main原 Spring Boot 2.6.0:OSV 发现 30 条已知漏洞。按保持 Boot 2 兼容性的要求,已推送feature/REQ-20261028-wandl-ip2region-boot2:升至 Boot 2.7.18、Spring Framework 5.3.39,并更新 SnakeYAML、JsonPath、AssertJ、XMLUnit;JDK 8 下mvn verify通过。复扫降至 11 条,均属于 Boot 2 / Spring 5 版本线,无法在保持该主版本兼容性的前提下消除。提交4492648、6ac58b6;已按版本线修正并发布2.0.x.20260630-SNAPSHOT到阿里云私有 Maven,远端 JAR 与本地 SHA-256 一致。3.5.x已推送feature/REQ-20261028-wandl-ip2region-boot3:升至 Boot 3.5.16;JDK 17 下mvn verify通过,OSV 复扫未发现已知漏洞。提交d2933f5;3.5.x.20260630-SNAPSHOT已发布到阿里云私有 Maven。4.1.x已推送feature/REQ-20261028-wandl-ip2region-issues:升至 Boot 4.1.2,并采用 Maven 4 模型;JDK 21 + Maven 4.0.0-rc-5 下mvn verify通过,OSV 对更新后的完整依赖树复扫未发现已知漏洞。提交b9411a2、6833f58、8b2faf4;4.1.x.20260630-SNAPSHOT已发布到阿里云私有 Maven。三个功能分支均已推送,尚未合入。鉴于 Boot 2 兼容性要求下仍有 11 条已知漏洞,本 Issue 保持开放。
loong10k commentedon Nov 17, 2026
Boot 2 security baseline has now followed feature → test → main: PR #12 merged into test/20261118, then PR #13 merged into main at 699d419. JDK 8 local clean verify passed (one actual lookup test); feature PR CI, test push CI, main PR CI, and main push CI run 44169757504 all passed. A fresh OSV Scanner 2.5.1 scan of the candidate resolved POM still reports 11 findings in Spring Boot 2.7.18 and Spring Framework 5.3.39, so this issue remains open. The Boot 3/4 version-line feature branches are separate and unmerged.
loong10k commentedon Nov 17, 2026
2026-11-18 当前分支复核:此前评论中「3.5.x / 4.1.x 尚未合入」已过时。远端 3.5.x 当前为 26811a3(Spring Boot 3.5.16;功能分支 feature/REQ-20261029-wandl-ip2region-3-5-x 同 SHA),对应 CI 40833989642 成功;4.1.x 当前为 9044992(Spring Boot 4.1.2;功能分支 feature/REQ-20261029-wandl-ip2region-4-1-x 同 SHA),对应 CI 40833988690 成功。使用 OSV Scanner 2.5.1 对这两个当前提交的 POM 重新解析传递依赖,均未报告已知漏洞。
默认 main 当前为 699d419(Boot 2.7.18 / Spring 5.3.39;此前已按 feature → test → main 合入,main CI 44169757504 成功)。同一轮扫描仍报告 11 条:spring-boot 2、spring-boot-autoconfigure 1、spring-context 2、spring-core 2、spring-expression 4;报告列出的修复版本在 Spring Boot 3+ / Spring Framework 6+ 等版本线。Boot 2 兼容线尚未达到本 Issue 的零漏洞目标,因此保持 Issue 开放,不把 Boot 3/4 的扫描结论代替 Boot 2 的结果。
Restore legacy ip2region factory and bean overrides
Restore legacy ip2region factory and bean overrides
Restore legacy ip2region factory and bean overrides
Restore legacy ip2region factory and bean overrides
Restore legacy ip2region factory and bean overrides
Restore legacy ip2region factory and bean overrides
Restore legacy ip2region factory and bean overrides
Restore legacy ip2region factory and bean overrides
docs: verify ip2region Java 8 security upgrade bounds