Fix CPE criteria matching
Status from this message: Applied these three to 2025.02.x and 2025.08.x, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | support/scripts/cve.py: remove print from cve.py librarysupport/ support/ | +2 | 1 reply | |
| 2/6 | support/scripts/cve.py: fix CPE matchingsupport/ support/ | +104 | 1 reply | |
| 3/6 | package/pkg-generic.mk: Set <pkg>_CPE_ID_UPDATE to NA by defaultpackage/ | +2 | 1 reply | |
| 4/6 | support/scripts/cve-check: add cve-check scriptsupport/ | +134 | 0 replies | |
| 5/6 | DEVELOPERS: add Thomas Perale to cve-check & cve.pyDEVELOPERS | +2 | 0 replies | |
| 6/6 | docs/manual: add information on CycloneDXdocs/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/6] Fix CPE criteria matching
Hi,
The 'cve.py' library can be further improved to take into account the operators between the cpeMatch nodes (AND, OR).
I ran the cve-check script on an SBOM containing every packages in Buildroot before and after my changes to the 'cve.py' logic and then ran a diff on the SBOM vulnerabilities.
I also did a comparison with the result given by DependencyTrack and it's a really similar output.
This is the list of CVE this remove (it doesn't add any). I havn't checked them all but it mostly removes CVE with criteria without assigned version ('-').
- CVE-1999-0143
- CVE-1999-0289
- CVE-1999-0678
- CVE-1999-0713
- CVE-1999-1237
- CVE-1999-1412
- CVE-2007-0086
- CVE-2007-0450
- CVE-2007-2379
- CVE-2007-2728
- CVE-2007-3149
- CVE-2007-4596
- CVE-2007-5894
- CVE-2007-5902
- CVE-2007-6421
- CVE-2007-6422
- CVE-2007-6423
- CVE-2008-2168
- CVE-2009-0844
- CVE-2010-4176
- CVE-2011-1936
- CVE-2011-3346
- CVE-2011-3618
- CVE-2011-4613
- CVE-2012-0880
- CVE-2013-2018
- CVE-2013-4235
- CVE-2014-2580
- CVE-2014-4859
- CVE-2014-4860
- CVE-2014-8135
- CVE-2014-8136
- CVE-2014-8165
- CVE-2014-9278
- CVE-2014-9750
- CVE-2014-9751
- CVE-2014-9826
- CVE-2015-5313
- CVE-2015-7691
- CVE-2015-7692
- CVE-2015-7701
- CVE-2015-7702
- CVE-2015-7703
- CVE-2015-7704
- CVE-2015-7705
- CVE-2015-7848
- CVE-2015-7849
- CVE-2015-7850
- CVE-2015-7852
- CVE-2015-7853
- CVE-2015-7854
- CVE-2015-7855
- CVE-2015-7973
- CVE-2015-7974
- CVE-2015-8550
- CVE-2015-8553
- CVE-2016-0749
- CVE-2016-2102
- CVE-2016-2150
- CVE-2016-2518
- CVE-2016-3960
- CVE-2016-4953
- CVE-2016-4954
- CVE-2016-4955
- CVE-2016-4956
- CVE-2016-7092
- CVE-2016-7426
- CVE-2016-7434
- CVE-2016-7538
- CVE-2016-9079
- CVE-2017-5436
- CVE-2017-6458
- CVE-2017-7228
- CVE-2018-10893
- CVE-2018-18438
- CVE-2018-5748
- CVE-2018-6764
- CVE-2018-7170
- CVE-2018-7185
- CVE-2018-8897
- CVE-2019-10214
- CVE-2019-11331
- CVE-2019-12067
- CVE-2019-14553
- CVE-2019-14559
- CVE-2019-14562
- CVE-2019-14563
- CVE-2019-14575
- CVE-2019-14586
- CVE-2019-14587
- CVE-2019-8936
- CVE-2020-11868
- CVE-2020-13817
- CVE-2020-23331
- CVE-2020-23332
- CVE-2020-24490
- CVE-2020-25697
- CVE-2020-7694
- CVE-2021-28039
- CVE-2021-28711
- CVE-2021-28712
- CVE-2021-28713
- CVE-2021-45464
- CVE-2022-23036
- CVE-2022-23037
- CVE-2022-23038
- CVE-2022-23039
- CVE-2022-23040
- CVE-2022-23041
- CVE-2022-23042
- CVE-2022-23824
- CVE-2022-23960
- CVE-2022-26358
- CVE-2022-26359
- CVE-2022-26360
- CVE-2022-26361
- CVE-2022-26365
- CVE-2022-29900
- CVE-2022-29901
- CVE-2022-3219
- CVE-2022-33740
- CVE-2022-33741
- CVE-2022-33742
- CVE-2022-33743
- CVE-2022-3553
- CVE-2022-3807
- CVE-2022-40982
- CVE-2022-42309
- CVE-2022-42311
- CVE-2022-42312
- CVE-2022-42313
- CVE-2022-42314
- CVE-2022-42315
- CVE-2022-42316
- CVE-2022-42317
- CVE-2022-42318
- CVE-2022-42320
- CVE-2022-42321
- CVE-2022-42322
- CVE-2022-42323
- CVE-2022-4949
- CVE-2023-0056
- CVE-2023-20588
- CVE-2023-2680
- CVE-2023-34324
- CVE-2023-3750
- CVE-2023-38560
- CVE-2023-39327
- CVE-2023-39328
- CVE-2023-39329
- CVE-2023-4949
- CVE-2023-52356
- CVE-2023-6228
- CVE-2023-6277
- CVE-2023-7216
- CVE-2024-10041
- CVE-2024-1013
- CVE-2024-11586
- CVE-2024-49393
- CVE-2024-49394
- CVE-2024-49395
- CVE-2024-5290
- CVE-2024-6505
- CVE-2024-6519
- CVE-2024-8354
- CVE-2024-8443
- CVE-2024-9029
- CVE-2025-32462
- CVE-2025-32463
- CVE-2025-32989
- CVE-2025-32990
- CVE-2025-3891
- CVE-2025-5987
- CVE-2025-6170
- CVE-2025-7424
Thomas Perale (6):
support/scripts/cve.py: remove print from cve.py library support/scripts/cve.py: fix CPE matching package/pkg-generic.mk: Set <pkg>_CPE_ID_UPDATE to NA by default support/scripts/cve-check: add cve-check script
DEVELOPERS: add Thomas Perale to cve-check & cve.py docs/manual: add information on CycloneDX
DEVELOPERS | 2 + docs/manual/common-usage.adoc | 27 +++++++ package/pkg-generic.mk | 2 + support/scripts/cve-check | 134 ++++++++++++++++++++++++++++++++++ support/scripts/cve.py | 133 +++++++++++++++++++++++++-------- support/scripts/pkg-stats | 3 +- 6 files changed, 271 insertions(+), 30 deletions(-) create mode 100755 support/scripts/cve-check
Signature · 6 lines
2.51.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot