关联漏洞
标题:Hutool 缓冲区错误漏洞 (CVE-2022-45688)Description:Hutool是中国Dromara社区的一个小而全的 Java 工具类库。 Hutool v5.8.10版本存在安全漏洞,该漏洞源于XML.toJSONObject组件中的堆栈溢出,允许攻击者通过精心制作的JSON或XML数据导致拒绝服务(DoS)。
Description
simple application with a (unreachable!) CVE-2022-45688 vulnerability
介绍
## json.org CVE-2022-45688 false positive
The project contains a [json.org](https://mvnrepository.com/artifact/org.json/json/20220924) dependency with [CVE-2022-45688](https://nvd.nist.gov/vuln/detail/CVE-2022-45688) but does __not__ invoke the vulnerable class.
The vulnerability can therefore not be exploited for a DoS attack.
Metadata-based software composition analyses will produce a false positive, while
callgraph-based analyses will not flag this application as vulnerable.
### Running Software Composition Analyses
There are several sh scripts to run different analyses, result resports can be found in `scan-results`.
### Generating the SBOM
The `pom.xml` has a plugin to generate a [SBOM](https://www.cisa.gov/sbom) in [CycloneDX](https://cyclonedx.org/) format.
To do this, run `mvn cyclonedx:makePackageBom`, the SBOM can be found in
`target/` in `json` and `xml` format.
文件快照
[4.0K] /data/pocs/aaf5aec9088bf5484977c903b57cfacdaf66253a
├── [ 11K] LICENSE
├── [2.7K] pom.xml
├── [ 896] README.md
├── [ 452] run-owasp.sh
├── [ 261] run-snyk.sh
├── [4.0K] scan-results
│ ├── [4.0K] dependency-check
│ │ └── [ 13K] dependency-check-report.json
│ └── [4.0K] snyk
│ └── [ 11K] snyk-report.json
└── [4.0K] src
└── [4.0K] main
└── [4.0K] java
└── [4.0K] scabench
└── [ 376] JSONPrettyPrinter.java
7 directories, 8 files
备注
1. 建议优先通过来源进行访问。
2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →