# 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.
## 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)
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
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:
c31d56fb133c0e919c51c288252c3eceb89058f009323d15e94558b2f48d426dGenerated by compliance-scanner
Open in Prüfwerk / In Prüfwerk öffnen
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.