Project

General

Profile

Actions

SecOps #1167

open
CD

[Sécurité] Vulnérabilité de code : Dockerfile:33 (dockerfile.security.missing-user.missing-user)

SecOps #1167: [Sécurité] Vulnérabilité de code : Dockerfile:33 (dockerfile.security.missing-user.missing-user)

Added by Client Dashboard about 1 month ago. Updated 30 days ago.

Status:
Submitted
Priority:
Normal
Assignee:
-
Start date:
06/23/2026
Due date:
% Done:

0%

Estimated time:
spec_ref:
build_status:
build_number:
ci_run_url:
scan_status:
scan_report_url:
deploy_status:
preprod_url:
deployed_at:
branch:
pr_url:
security_key:
Dockerfile:33_dockerfile.security.missing-user.missing-user
severity:
high
paused:

Description

**Sévérité** : HIGH
**Source** : Semgrep
`vuln-high`
**Emplacement** : Dockerfile:33
**Règle** : dockerfile.security.missing-user.missing-user

By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensure that the last USER in a Dockerfile is a USER other than 'root'.

### Extrait de code
```
requires login
```

### Lien CVE
https://owasp.org/Top10/A04_2021-Insecure_Design

### Recommandations
USER non-root
CMD ["./server"]

Actions

Also available in: PDF Atom