Skip to content

Add initial capability to check CVEs for recipes

[email protected] openembedded-core 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches19 repliesSuperseded

Changes in v4 from the cover letter

- Support for GCC 6 adding -Wno-error=pedantic to CFLAGS
- Support for musl thanks to patch from Khem
- Tweaks when building the the CVE database
- Fix license

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cve-check-tool: Add recipemeta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb meta/recipes-devtools/cve-check-tool/files/check-for-malloc_trim-before-using-it.patch+110 -04 replies
2/2cve-check.bbclass: Add classmeta/classes/cve-check.bbclass+267 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 0/2] Add initial capability to check CVEs for recipes

From: Mariano Lopez <[email protected]>

This series add the cve-check-tool recipe, a tool used to identify potentially vulnerable software through version matching. It will check if a vulnerability has been addressed by a patch.

Also add the new cve-check class that will add a task for all recipes to check for CVEs using cve-check-tool. This tool can be used by recipe, mage (will generate an image report in deploy dir), and with "world" and "universe"

To run it just inherit the class and enter:

bitbake -c cve_check <recipe>

Changes in v2:

- Set the explicit dependency of cve-check-tool-native:do_populate_cve_db in the cve-check class
- Squashed patch 2 into patch 1

Changes in v3:

- Support for python3
- Add check for BB_NO_NETWORK

Changes in v4:

- Support for GCC 6 adding -Wno-error=pedantic to CFLAGS
- Support for musl thanks to patch from Khem
- Tweaks when building the the CVE database
- Fix license

The following changes since commit a81b326933d15f08e06780f92d8dc0d4efb3cd23:

combo-layer: python3: fix UnicodeDecodeError (2016-08-24 13:58:28 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib mariano/bug7515v5
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/bug7515v5

Mariano Lopez (2):
cve-check-tool: Add recipe
cve-check.bbclass: Add class

 meta/classes/cve-check.bbclass                     | 267 +++++++++++++++++++++
 .../cve-check-tool/cve-check-tool_5.6.4.bb         |  59 +++++
 .../check-for-malloc_trim-before-using-it.patch    |  51 ++++
 3 files changed, 377 insertions(+)
 create mode 100644 meta/classes/cve-check.bbclass
 create mode 100644 meta/recipes-devtools/cve-check-tool/cve-check-tool_5.6.4.bb
 create mode 100644 meta/recipes-devtools/cve-check-tool/files/check-for-malloc_trim-before-using-it.patch
Signature · 1 line
2.6.6