OCSInventory-NG / OCSInventory-ocsreports

Webconsole for OCS Inventory NG
https://www.ocsinventory-ng.org
GNU General Public License v2.0
226 stars 149 forks source link

[BUG] Not every publisher is processed during the ‘cron_cve.php’ run #1603

Open LMS235 opened 4 months ago

LMS235 commented 4 months ago

OCS Inventory version Version : 2.12.1

Describe the bug all Publisher in Database (via SQL from .../require/cve/Cve.php) => 148 Rows:

SELECT DISTINCT p.ID, p.PUBLISHER FROM software_publisher p LEFT JOIN software_link sl ON p.ID = sl.PUBLISHER_ID LEFT JOIN software_name n ON n.ID = sl.NAME_ID LEFT JOIN cve_search_history h ON h.PUBLISHER_ID = p.ID LEFT JOIN software_categories_link scl ON scl.PUBLISHER_ID = p.ID WHERE p.ID != 1 AND TRIM(p.PUBLISHER) != "" ORDER BY `p`.`ID` ASC

image

However, only 96 are processed in the ‘cron_cve.php’ job

Example "Mozilla": image

Not in List: image

No ‘CVE_BAN’ or similar has been set (at least I haven't found anything about it) I cannot identify why more than 50 publishers were not processed here.

In general, the CVE Search works, but not completely. But I need to know why some publishers are not checked here. image

To Reproduce run cron_cve.php

Expected behavior Every publisher in the list should be checked

BEAR19931 commented 1 month ago

I confirm the problem