Project

General

Profile

Actions

SecOps #251

open
CD

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

SecOps #251: [Sécurité] Vulnérabilité de code : server/Dockerfile:19 (dockerfile.security.missing-user.missing-user)

Added by Client Dashboard about 2 months ago. Updated about 1 month ago.

Status:
Ready to ship
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:
deployed
preprod_url:
https://preprod-scobby.omdev.tech
deployed_at:
07/01/2026
branch:
fix/secops-dockerfile-nonroot
pr_url:
https://github.com/Scobby-organisation/scobby/pull/105
security_key:
server/Dockerfile:19_dockerfile.security.missing-user.missing-user
severity:
high
paused:

Description

**Sévérité** : HIGH
**Source** : Semgrep
`vuln-high`
**Emplacement** : server/Dockerfile:19
**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 ["node", "dist/main.js"]

Actions

Also available in: PDF Atom