False positive reported on XNIO CVE-2023-5685 — component not present
还没有人认领这个 Issue。
评估
调研方向
未指定源文件或测试。首先检查项目的依赖树,并在存在 Java NIO 但缺少 org.jboss.xnio:xnio-api 的情况下复现扫描;只有在 XNIO 构件存在时才报告 CVE-2023-5685,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Xray reports CVE-2023-5685 (JBoss XNIO buffer overflow) against our project. However, org.jboss.xnio:xnio-api is not present in our delivery. The scanner appears to have confused standard Java NIO (part of the JDK) with JBoss XNIO (a separate third-party library).
To Reproduce
Xray scan flags CVE-2023-5685 against a project that uses Java NIO but does NOT contain org.jboss.xnio:xnio-api in its dependency tree.
Expected behavior
CVE-2023-5685 should only be reported when org.jboss.xnio:xnio-api is actually present in the scanned artifacts. Java NIO (java.nio.*) from the JDK is a different component.
Versions
- Package: org.jboss.xnio:xnio-api — NOT PRESENT
- Scanner likely confused with: java.nio (JDK built-in)
Additional context
Red Hat advisory: https://issues.redhat.com/browse/WFCORE-6738
- 主要语言
- Java
- 星标
- 331
- 派生
- 164
- 平均合并
- 20 小时 9 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jfrog/artifactory-client-java 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
jfrog/artifactory-client-java#450 · 2 条评论 ·
-
question
难度 2/5 1-3 小时 新手友好度 62/100
jfrog/artifactory-client-java#375 ·
-
难度 4/5 3-5 天 新手友好度 35/100
jfrog/artifactory-client-java#448 ·
-
难度 3/5 1-2 天 新手友好度 45/100
jfrog/artifactory-client-java#447 ·
-
难度 4/5 3-5 天 新手友好度 45/100
jfrog/artifactory-client-java#444 ·
查看 jfrog/artifactory-client-java 的全部 Issue
相似的 Issue
-
link-check link-check:manual
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 91/100
open-telemetry/opentelemetry-java#8870 ·
维护者通常 1 天内回复
-
P2 testing
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
enhancement javascript
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area/core kind/bug status/triage team/core-shared
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复