Property
Languagedockerfile
Severitymedium
CWECWE-269: Improper Privilege Management
OWASPA04:2021 - Insecure Design
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelMedium

Description#

The Dockerfile sets the final user as ‘root’, meaning the container runs with full administrative privileges. This increases risk if attackers gain access, as they would control the whole system.

Impact#

If exploited, an attacker could use root privileges to modify system files, install malware, or move laterally to other systems. This can lead to data breaches, service disruption, and compromise of the host environment.