[medium] yocto-config: Distro does not include security_flags.inc #918

Closed
opened 2026-11-05 20:13:43 +00:00 by pruefwerk · 1 comment
Member

medium Finding

Scanner: yocto-config
Severity: medium
Rule: yocto-distro-no-security-flags
CWE: CWE-693
CRA: cra-ai-1 — Secure-by-Default-Konfiguration (Annex I)

Description

CRA Annex I Part I (2)(b): products are made available with a secure by default configuration.

Location

File: fixtures/nightly/firmware/yocto-layer/conf/distro/pump-distro.conf (line 1)

Code

# Nightly fixture: the product distro, without the hardening compiler flags

Remediation

Add require conf/distro/include/security_flags.inc to the distro configuration, so every package is built with the stack protector, FORTIFY_SOURCE, PIE and full RELRO.


Fingerprint: c31d56fb133c0e919c51c288252c3eceb89058f009323d15e94558b2f48d426d
Generated by compliance-scanner
Open in Prüfwerk / In Prüfwerk öffnen

## medium Finding **Scanner:** yocto-config **Severity:** medium **Rule:** yocto-distro-no-security-flags **CWE:** CWE-693 **CRA:** cra-ai-1 — Secure-by-Default-Konfiguration (Annex I) ### Description CRA Annex I Part I (2)(b): products are made available with a secure by default configuration. ### Location **File:** `fixtures/nightly/firmware/yocto-layer/conf/distro/pump-distro.conf` (line 1) ### Code ``` # Nightly fixture: the product distro, without the hardening compiler flags ``` ### Remediation Add require conf/distro/include/security_flags.inc to the distro configuration, so every package is built with the stack protector, FORTIFY_SOURCE, PIE and full RELRO. --- *Fingerprint:* `c31d56fb133c0e919c51c288252c3eceb89058f009323d15e94558b2f48d426d` *Generated by compliance-scanner* [Open in Prüfwerk / In Prüfwerk öffnen](https://pruefwerk.breakpilot.com/findings?target=6ae9aa2160f5d8045fc570a7)
pruefwerk added the severity:mediumcra:annex-ipruefwerk labels 2026-11-05 20:13:43 +00:00
Author
Member

Prüfwerk: Die Datei liegt in Testdaten (z. B. fixtures/ oder testdata/), die von der Prüfung ausgenommen sind.

The file lies in test data (such as fixtures/ or testdata/), which is left out of the scan.

**Prüfwerk:** Die Datei liegt in Testdaten (z. B. fixtures/ oder testdata/), die von der Prüfung ausgenommen sind. The file lies in test data (such as fixtures/ or testdata/), which is left out of the scan.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#918