Hi!
Sometimes, the vulnerability detector discards some CVEs after correlating the vendor feed against the NVD. There are many factors involved, like the agent's OS, the generated CPE, etc.
The details of the scan can be seen if you enable the debug logs. Please, add
wazuh_modules.debug=2 to the
/var/ossec/etc/local_internal_options.conf file to enable the debug logs for vulnerability detector. Also, reduce the
<ignore_time> setting in
ossec.conf temporarily, because if these packages were recently analyzed they will be ignored in the next scan.
Then, wait for the interval time to expire (or restart your manager if run_on_start is enabled for vulnerability detector) and make sure this particular agent is connected at the moment of the scan. The resulting ossec.log file will be considerably long, share the whole file or only the section related to this agent.
This way, we can know why it's reporting CVE-2020-35501 and not CVE-2022-0847.
Regards.