Fork me on GitHub

Build and Deployment -> Patch Management: Usage of a maximum lifetime for images

Risk and Opportunity

Risk: Vulnerabilities in images of running containers stay for too long and might get exploited. Long running containers have potential memory leaks. A compromised container might get killed by restarting the container (e.g. in case the attacker has not reached the persistence layer).
Opportunity: The periodically builded images are deployed minimum every 30 days (better hourly/daily/weekly). Meaning an image is not in production for longer than 30 days.

Exploit details

Usefullness: Medium
Required knowledge: Medium (two disciplines)
Required time: High
Required resources (systems): Low

OWASP SAMM 2 Mapping: o-environment-management|B|1
ISO27001:2017 Controls Mapping: