[HIGH] Docker socket mounted into Forgejo Runner and Wings containers #14
Labels
No labels
area:documentation
area:infrastructure
area:network
area:security
priority:critical
priority:high
priority:low
priority:medium
status:blocked
type:bug
type:deployment
type:enhancement
type:investigation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
reinitialized.net/infrastructure#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Labels:
area:security,area:containers,priority:high,type:bugDescription
Two containers mount the Docker socket directly:
/var/run/docker.sock:/var/run/docker.sock/var/run/docker.sock:/var/run/docker.sockCombined with the runner's
--privilegedflag (separate CRITICAL issue), this grants full host Docker control.Impact
Container escape to host. Any code running in these containers can create/stop/delete any container, read container environment variables (including secrets), and mount host filesystem volumes.
Recommended Fix