On new Ubuntu OVALs the "comment" field on the "criterion" changed in such a way that parsing was not being done correctly, resulting in an unpopulated database misleading us that no CVEs were found.
Example of new OVAL:
criterion test_ref="oval:com.ubuntu.bionic:tst:2017131340000010" comment="imagemagick package in bionic was vulnerable but has been fixed (note: '8:6.9.7.4+dfsg-16ubuntu6.2')."
Parsing was expecting it to be:
criterion test_ref="oval:com.ubuntu.bionic:tst:2017131340000010" comment="The ' imagemagick ' package in bionic was vulnerable but has been fixed (note: '8:6.9.7.4+dfsg-16ubuntu6.2')."
On new Ubuntu OVALs the "comment" field on the "criterion" changed in such a way that parsing was not being done correctly, resulting in an unpopulated database misleading us that no CVEs were found.
Example of new OVAL: criterion test_ref="oval:com.ubuntu.bionic:tst:2017131340000010" comment="imagemagick package in bionic was vulnerable but has been fixed (note: '8:6.9.7.4+dfsg-16ubuntu6.2')."
Parsing was expecting it to be: criterion test_ref="oval:com.ubuntu.bionic:tst:2017131340000010" comment="The ' imagemagick ' package in bionic was vulnerable but has been fixed (note: '8:6.9.7.4+dfsg-16ubuntu6.2')."
This pull request fixes CESNET/pakiti-server#170.