Bug 14495

Summary: Implement CVE checking on all packages in a SBOM/manifest
Product: [Build System, Metadata & Runtime] Security - Recipe Upgrade Reporter: Michael Opdenacker <michael.opdenacker>
Component: securityAssignee: Ross Burton <ross.burton>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: Medium+ CC: randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 4.1 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Michael Opdenacker 2021-08-02 15:49:17 UTC
This was initially proposed by Richard Purdie on
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14419

The question was:
"How to check for vulnerabilities in my image without regenerating it, and without runing "bitbake -c cve_check" on individual package names?"

His answer was:

"Ultimately we will generate an SBOM/manifest with the image and it would be good if we could run a new check of that manifest against the CVEs. That isn't currently implemented but should be and should perhaps be a new bug?"

Such a check would definitely be useful for production project maintainers, and will for sure be recommended in our manuals.
Comment 1 Ross Burton 2022-04-28 15:05:01 UTC
"bitbake core-image-minimal --runall cve_check" will do that.