Actions
SecOps #286
open
CD
[Sécurité] Vulnérabilité de code : Dockerfile:15 (dockerfile.security.missing-user.missing-user)
SecOps #286:
[Sécurité] Vulnérabilité de code : Dockerfile:15 (dockerfile.security.missing-user.missing-user)
Status:
Submitted
Priority:
Normal
Assignee:
-
Start date:
06/15/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:15_dockerfile.security.missing-user.missing-user
severity:
high
paused:
Description
**Sévérité** : HIGH
**Source** : Semgrep
`vuln-high`
**Emplacement** : Dockerfile:15
**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 ["uvicorn", "surfcall.main:app", "--host", "0.0.0.0", "--port", "8000"]
No data to display
Actions