[medium] oelint-adv: Fetched source without a checksum #921

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

medium Finding

Scanner: oelint-adv
Severity: medium
Rule: oelint.vars.srcurichecksum
CWE: CWE-494
CRA: cra-ai-6 — Integritätsprüfung (Annex I)

Description

SRC_URI[sha256sum] is needed

CRA Annex I Part I (2)(f): the integrity of the software is protected; an image built from unverified or moving sources cannot be traced to them.

Location

File: fixtures/nightly/firmware/yocto-layer/recipes-app/pump-web/pump-web_2.1.bb (line 6)

Code

SRC_URI = "http://downloads.example.com/pump-web-${PV}.tar.gz"

Remediation

Add SRC_URI[sha256sum] for every downloaded file, so a changed or swapped download fails the build.


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

## medium Finding **Scanner:** oelint-adv **Severity:** medium **Rule:** oelint.vars.srcurichecksum **CWE:** CWE-494 **CRA:** cra-ai-6 — Integritätsprüfung (Annex I) ### Description SRC_URI[sha256sum] is needed CRA Annex I Part I (2)(f): the integrity of the software is protected; an image built from unverified or moving sources cannot be traced to them. ### Location **File:** `fixtures/nightly/firmware/yocto-layer/recipes-app/pump-web/pump-web_2.1.bb` (line 6) ### Code ``` SRC_URI = "http://downloads.example.com/pump-web-${PV}.tar.gz" ``` ### Remediation Add SRC_URI[sha256sum] for every downloaded file, so a changed or swapped download fails the build. --- *Fingerprint:* `ff523b74d03359f5b13123151f4e9bbea3cf6e569bb7b06ff8acb71f8a5b7564` *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:49 +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#921