Open sustefil opened 2 years ago
Hello @tschmidtb51 , please have a look.
Long story short, the input validation is pretty strict and most of the producers CVRFs don't adhere to it.
From the conversion of valid inputs, we haven't observed any conversion errors so far.
Please also check Siemens and Oracle.
Long story short, the input validation is pretty strict and most of the producers CVRFs don't adhere to it.
I'll have a look at that.
From the conversion of valid inputs, we haven't observed any conversion errors so far.
Sounds great.
All producers above tested, can be closed from my side.
Each of the producer mostly has the same format or/and errors in validation, thus I pick just some examples
This was a manual testing with commit https://github.com/csaf-tools/CVRF-CSAF-Converter/commit/867578e5f8263cc908aa675d0fa75ea9a988b5ba. Just to see if we have some conversion errors. Could be automated in the future.
Used producer files: https://github.com/csaf-tools/CVRF-CSAF-Converter/tree/testing/examples
And this helper script: https://github.com/csaf-tools/CVRF-CSAF-Converter/blob/testing/tests/test_producers.sh
RedHat - ALL invalid input
Invalid cvrf2doc namespace
Fortiguard - ALL invalid input
Missing mandatory fields
Suse
28 examples OK
210 examples with ERRORs (not conversion errors, but input errors)
282 examples with CRITICAL e.g. missing ProductID in Vulnerabilities
Cisco
100 examples OK - took first 100 files from the batch and all of them were valid, no errors.
Siemens
5 examples OK - Haven't found any "browsing" page for Siemens CVRFs, managed to google a few examples, all of them valid, no errors.
Oracle
3 examples with CRITICAL - wrong cvrfdoc namespace used