fix: pf4j2 示例升级 pf4j 3.14.1,修复 CVE-2025-70952(Zip Slip 路径穿越) - #37
Merged
Conversation
- pf4j 3.0 移除了 org.pf4j.PluginException(改为运行时异常 PluginRuntimeException),同步迁移 pf4j2-plugin-api 中的 异常声明与 PluginInvokeException 父类 - 替代 Dependabot PR #32(Dependabot 无法处理源码级 API 迁移)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
替代 Dependabot PR #32:pf4j 2.2.0 → 3.14.1 需要源码级 API 迁移,Dependabot 只改版本号会编译失败(pf4j 3.0 移除了
org.pf4j.PluginException,改为运行时异常PluginRuntimeException)。pf4j2-plugin-api中所有throws PluginException→PluginRuntimeExceptionPluginInvokeException extends PluginRuntimeException验证
mvn clean verify全 14 模块 JDK 8 / 17 / 21 全绿 ✅安全收益
关闭 Dependabot 告警:CVE-2025-70952 / GHSA-5458-7hh9-v7p4(High:pf4j < 3.14.1 Zip Slip 路径穿越)