Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.
This repository was archived by the owner on May 30, 2025. It is now read-only.

The Tomcat service should be executed with a non-root user #38

@gkhays

Description

@gkhays

Security best practices indicate Tomcat should not be run as root. Even though we can mitigate dropping into a privileged shell within a container, the issue can be avoided through moderate effort.

The Docker Official Image packaging for Postgres provides a good example, albeit for a different service.

References

  1. Ghostcat bug impacts all Apache Tomcat versions released in the last 13 years
  2. SELinux, Apache, and Tomcat – Tomcat – A Securely A Securely Implemented Web Application Server
  3. Improving Apache Tomcat Security - A Step By Step Guide

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions