aboutcode-org / aboutcode-org/vulnerablecode
What if different advisories report different version range for the same vulnerability?
- Ngôn ngữ chính
- Python
- Star
- 702
- Fork
- 328
- Merge trung bình
- 3 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
For example, CVE-2023-38286 for `pkg:maven/de.codecentric/spring-boot-admin-server`:
- [github advisories](https://github.com/advisories/GHSA-7gj7-224w-vpr3) say affected versions `<3.1.2` and patched in `3.1.2`
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-38286) CPE say `Up to (including)3.1.0`
- [gitlab advisories](https://advisories.gitlab.com/advisory/advmaven_de_codecentric_spring_boot_admin_server_CVE_2023_38286.html) agree with NVD and suggest `Upgrade to version 3.1.1 or above`.
[The commit that fixes this](https://github.com/codecentric/spring-boot-admin/commit/f1f6ac6f613e1c0afc121c8989f28b4155a6797a) is actually included in version 3.1.2.
Currently in vulnerablecode, `GitLabAPIImporter` and `GitHubAPIImporter` reports differenct version range accordingly, and `DefaultImprover` decides that this is fixed in version `3.1.1`

Maybe for vulnerablecode, it should use the largest range for affected versions? That is, it should use `"affected_version_range": "vers:maven/<3.1.2"` collected by `GitHubAPIImporter`, rather than `"affected_version_range": "vers:maven/<=3.1.0"` collected by `GitLabAPIImporter`.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.