How to check the CVE status in OpenSTLinux

Revision as of 11:08, 14 June 2023 by Registered User
Applicable for STM32MP13x lines, STM32MP15x lines


1. Overview[edit source]

This article explains how to configure OpenSTLinux Yocto build to check CVE (Common Vulnerabilities and Exposures) status.

2. OpenEmbedded/Yocto[edit source]

OpenEmbedded/Yocto provides a class which permits to check CVE status.
To enable a check for CVE status, add on your configuration (conf/local.conf):

INHERIT += "cve-check"

For more information about how to configure exclusions for CVE check, see the section Vulnerability check at build time on Yocto manual.


The CVE check generates some CVE status by package on <build directory>/tmp-glibc/deploy/cve/ directory.
Example for tf-a-stm32mp:

tf-a-stm32mp tf-a-stm32mp_cve.json

The two files contains the same information but first one stored as text content and second one as json.