Hi,
I suspect there is missing KB superseders in
https://feed.wazuh.com/vulnerability-detector/windows/msu-updates.json.gz or there change in lookup of
superseders in db is needed.
Let me describe my case:
1. After patching Windows Server in June Wazuh detect missing KB4511553 (CVE-2019-1226,CVE-2019-1222,CVE-2019-1182,CVE-2019-1181)
4. In CVE db KB4511553 has many superseders
sqlite3 /var/ossec/queue/vulnerabilities/cve.db --header "select count(*) from MSU_SUPERSEDENCE where PATCH=4511553;"
count(*)
74
5. Latest updates are not one of them:
sqlite3 /var/ossec/queue/vulnerabilities/cve.db --header "select count(*) from MSU_SUPERSEDENCE where PATCH=4511553 and SUPER in ("5015811","5014692");"
count(*)
0
6. I find out though KB5015811 supersedes other KBs which supersede KB4511553, so KB5015811 supersedes KB4511553 indirect:
sqlite3 /var/ossec/queue/vulnerabilities/cve.db --header "select count(*) from MSU_SUPERSEDENCE where PATCH=4511553 and SUPER in (select PATCH from MSU_SUPERSEDENCE where SUPER=5015811)"
count(*)
32
PS. Wazuh 4.3.5
Regards
Mateusz