[medium] semgrep: Service 'mailserver' is running with a writable root filesystem. This may allow malicious applications to download and run additional payloads, or modify container files. If an application inside a container has to save something temp… #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
medium Finding
Scanner: semgrep
Severity: medium
Rule: yaml.docker-compose.security.writable-filesystem-service.writable-filesystem-service
Description
Service 'mailserver' is running with a writable root filesystem. This may allow malicious applications to download and run additional payloads, or modify container files. If an application inside a container has to save something temporarily consider using a tmpfs. Add 'read_only: true' to this service to prevent this.
Location
File:
/tmp/compliance-scanner/repos/Compliance Scanner/deploy/docker-compose.mailserver.yml(line 4)Code
Fingerprint:
00c1298a3163816c428b7d0bc82d651df6a60b686266f3f36b99b58ec1ebf6bdGenerated by compliance-scanner
Labels: severity:medium, scanner:semgrep, compliance-scanner