CVE checker not choosing the correct base score
Need to confirm if this is expected.
For the CVE: CVE-2025-0840, for CVSS 3.1, NVD has it listed as a base score of 7.5. But using the Yocto CVE checker, it does not pick up the score 7.5. For scorev2, it picks up 5.1 and scorev3 has 5.0 from CNA: VulDB instead of the higher score of 7.5 provided by NVD. Is this is a bug?
Quoted 7 lines · lordtacolord via lists.yoctoproject.org
Need to confirm if this is expected.
For the CVE: CVE-2025-0840, for CVSS 3.1, NVD has it listed as a base score of 7.5. But using the Yocto CVE checker, it does not pick up the score 7.5. For scorev2, it picks up 5.1 and scorev3 has 5.0 from CNA:
VulDB instead of the higher score of 7.5 provided by NVD. Is this is a bug?
Are you using the nvd2 source? If yes, I'm not sure if I would call it a bug, it's hard to say which score is better than the other... maybe there is an opportunity for improvement? Looking at the code and its history[1], I can't find efforts for preferring a value over another, if there are multiple sources for a score: the code tries to parse only the first returned value, before skipping the rest.
It also looks like that NIST returns these values in a kind of random order for each CVE - or at least the ordering doesn't happen by the score nor by other attributes that I can easily spot.
This seems to be the case with this CVE also, looking at the order of data returned by the api[2].
[1]:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/meta/cve-update-nvd2-native.bb?h=master-next#n336
[2]: https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-0840