fleet/server/vulnerabilities/oval
Michal Nicpon 9ad1721efd
fix issue with duplicate vulns detected using nvd (#8613)
The OVAL analyzer falsely assumes that any vulnerabilities detected on a
host only come from OVAL. However, it is possible that NVD detects
vulnerabilities on these hosts even though it excludes software from
deb_packages and rpm_packages. For example, a python package twisted
v22.20 has a vulnerability CVE-2022-39348 detected by NVD. The OVAL
analyzer would delete this vulnerability, and it would be re-inserted by
the NVD scanner on the next run. This creates a loop.

The fix is to only delete vulnerabilities that are actually detected
using OVAL. We already store this in the source column in the
software_cve table.
2022-11-10 10:28:00 -07:00
..
input Feature 6096: Scan RHEL/CentOS hosts using OVAL definitions (#6241) 2022-06-23 16:44:45 -04:00
parsed Feature 7494: Use the MSRC security bulletin artifacts for detecting Win OS vulnerabilities (#7889) 2022-10-28 11:12:21 -04:00
analyzer.go fix issue with duplicate vulns detected using nvd (#8613) 2022-11-10 10:28:00 -07:00
analyzer_test.go fix issue with duplicate vulns detected using nvd (#8613) 2022-11-10 10:28:00 -07:00
downloader.go Feature 6096: Scan RHEL/CentOS hosts using OVAL definitions (#6241) 2022-06-23 16:44:45 -04:00
downloader_test.go Improve vulnerability detection for Ubuntu (#6102) 2022-06-07 21:09:47 -04:00
mappers.go Bump go to 1.19.1 (#7690) 2022-09-12 20:32:43 -03:00
mappers_test.go Feature 6096: Scan RHEL/CentOS hosts using OVAL definitions (#6241) 2022-06-23 16:44:45 -04:00
oval_platform.go Fixes various bugs with NVD vulnerability detection (#7963) 2022-10-04 07:04:48 -04:00
oval_platform_test.go Bug 6777: Make the regexp used for detecting the oval platform major, min versions more permissive (#6800) 2022-07-21 12:55:07 -04:00
parser.go Feature 6096: Scan RHEL/CentOS hosts using OVAL definitions (#6241) 2022-06-23 16:44:45 -04:00
parser_test.go Feature 6242: Use oval to detect vulnerabilities on Fedora hosts (#6330) 2022-06-24 11:02:51 -04:00
sync.go Feature 6096: Scan RHEL/CentOS hosts using OVAL definitions (#6241) 2022-06-23 16:44:45 -04:00
sync_test.go Feature 6096: Scan RHEL/CentOS hosts using OVAL definitions (#6241) 2022-06-23 16:44:45 -04:00