Project

General

Profile

Actions

SecOps #1390

open
CD

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

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

Added by Client Dashboard 20 days ago. Updated 15 days ago.

Status:
Submitted
Priority:
Normal
Assignee:
-
Start date:
07/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:20_dockerfile.security.missing-user.missing-user
severity:
high
paused:

Description

**Sévérité** : HIGH
**Source** : Semgrep
`vuln-high`
**Emplacement** : Dockerfile:20
**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 ["./qwarksconnectapi"]

Actions

Also available in: PDF Atom