[medium] oelint-adv: Task with network access #922

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

medium Finding

Scanner: oelint-adv
Severity: medium
Rule: oelint.task.network
CWE: CWE-494
CRA: cra-ai-2 — Minimale Angriffsfläche (Annex I)

Description

Task 'do_compile' uses the network flag, that can lead to unpredictable results

CRA Annex I Part I (2)(j): products are designed to limit attack surfaces.

Location

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

Code

do_compile[network] = "1"

Remediation

Fetch in do_fetch through SRC_URI, with checksums, instead of giving a build task network access.


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

## medium Finding **Scanner:** oelint-adv **Severity:** medium **Rule:** oelint.task.network **CWE:** CWE-494 **CRA:** cra-ai-2 — Minimale Angriffsfläche (Annex I) ### Description Task 'do_compile' uses the network flag, that can lead to unpredictable results CRA Annex I Part I (2)(j): products are designed to limit attack surfaces. ### Location **File:** `fixtures/nightly/firmware/yocto-layer/recipes-app/pump-web/pump-web_2.1.bb` (line 8) ### Code ``` do_compile[network] = "1" ``` ### Remediation Fetch in do_fetch through SRC_URI, with checksums, instead of giving a build task network access. --- *Fingerprint:* `aca8b0e5576e34d4ffbeb153f67753a21a6a32f0a47a64f84e6b9396fe33efaf` *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:50 +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#922