We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我发现您的项目中cf-framework-parent/cf-framework-utils/src/main/java/com/cf/framework/utils/StringTools.java文件中的com.cf.framework.utils.StringTools.xmlToMap(String xml)函数在创建documentBuilderFactory 对象的时候没有限制外部实体的使用,可能会造成外部实体注入漏洞,进而导致关键信息泄露的问题,可以参考CVE-2021-3869、CVE-2021-3878这两个CVE,他们的参考链接如下:
cf-framework-parent/cf-framework-utils/src/main/java/com/cf/framework/utils/StringTools.java
com.cf.framework.utils.StringTools.xmlToMap(String xml)
documentBuilderFactory
CVE-2021-3869: NVD说明链接: https://nvd.nist.gov/vuln/detail/CVE-2021-3869 commit修复链接: stanfordnlp/CoreNLP@5d83f1e CVE-2021-3878: NVD说明链接: https://nvd.nist.gov/vuln/detail/CVE-2021-3878 commit修复链接: stanfordnlp/CoreNLP@e5bbe13
CVE-2021-3869: NVD说明链接: https://nvd.nist.gov/vuln/detail/CVE-2021-3869 commit修复链接: stanfordnlp/CoreNLP@5d83f1e
CVE-2021-3878: NVD说明链接: https://nvd.nist.gov/vuln/detail/CVE-2021-3878 commit修复链接: stanfordnlp/CoreNLP@e5bbe13
考虑到其可能存在的潜在风险,我愿意配合您以负责任的方式及时核实、解决和报告发现的漏洞。 如果您需要任何进一步的信息或帮助,请随时与我联系。如果需要,我也可以提交PR帮助您修复。 谢谢您,期待尽快收到您的回复!
The text was updated successfully, but these errors were encountered:
历史版本可能存在这个问题,暂时解决方案:启动指令请带上 -Dlog4j2.formatMsgNoLookups=true ,可以避免此类漏洞带来的可能安全问题
Sorry, something went wrong.
No branches or pull requests
我发现您的项目中
cf-framework-parent/cf-framework-utils/src/main/java/com/cf/framework/utils/StringTools.java
文件中的com.cf.framework.utils.StringTools.xmlToMap(String xml)
函数在创建documentBuilderFactory
对象的时候没有限制外部实体的使用,可能会造成外部实体注入漏洞,进而导致关键信息泄露的问题,可以参考CVE-2021-3869、CVE-2021-3878这两个CVE,他们的参考链接如下:考虑到其可能存在的潜在风险,我愿意配合您以负责任的方式及时核实、解决和报告发现的漏洞。 如果您需要任何进一步的信息或帮助,请随时与我联系。如果需要,我也可以提交PR帮助您修复。 谢谢您,期待尽快收到您的回复!
The text was updated successfully, but these errors were encountered: