Hello, Fernando
One possibility may be that your configuration at /var/ossec/etc/ossec.conf might still have the <vulnerability-detection> and <indexer> blocks instead of the legacy <vulnerability-detector> one. If you want to check on this, here's what the configuration should look like in 4.8:
and what it'd be like on 4.7.5:
Depending on how you performed the downgrade, there's also the chance as you mention, that something is missing. Here's a quick listing of some vulnerability related files I can find in my 4.7.4 environment:
[root@nice-aio ossec]# find / -name "vuln*"
/sys/devices/system/cpu/vulnerabilities
/var/ossec/framework/wazuh/vulnerability.py
/var/ossec/framework/python/lib/python3.9/site-packages/api-4.7.4-py3.9.egg/api/controllers/__pycache__/vulnerability_controller.cpython-39.pyc
/var/ossec/framework/python/lib/python3.9/site-packages/api-4.7.4-py3.9.egg/api/controllers/vulnerability_controller.py
/var/ossec/framework/python/lib/python3.9/site-packages/wazuh-4.7.4-py3.9.egg/wazuh/__pycache__/vulnerability.cpython-39.pyc
/var/ossec/framework/python/lib/python3.9/site-packages/wazuh-4.7.4-py3.9.egg/wazuh/core/__pycache__/vulnerability.cpython-39.pyc
/var/ossec/framework/python/lib/python3.9/site-packages/wazuh-4.7.4-py3.9.egg/wazuh/core/vulnerability.py
/var/ossec/framework/python/lib/python3.9/site-packages/wazuh-4.7.4-py3.9.egg/wazuh/vulnerability.py
/var/ossec/queue/vulnerabilities
/usr/share/wazuh-dashboard/plugins/wazuh/server/lib/generate-alerts/sample-data/vulnerabilities.js
/usr/share/wazuh-dashboard/plugins/wazuh/server/lib/reporting/vulnerability-request.js
You can use that to compare with yours to try to identify what's missing. How did you initially upgrade and how did you do the downgrade? A general solution could be to first backup your configuration, any custom rules, decoders and logs and completely uninstall the manager, then reinstall it, but if you can identify what's missing, let me know.
Regards,
Lucas