# Dockerfile Uses Outdated Node.js Version - ID: docker-outdated-node-version - Severity: MEDIUM - CWE: CWE-1104 (CWE-1104) - Languages: Dockerfile - Frameworks: docker ## Description Detects Dockerfiles using outdated or end-of-life Node.js versions. ## Detection Message Dockerfile uses {issue_type} which is end-of-life or outdated. IMPORTANT: Update to node:24-alpine (Active LTS) or node:22-alpine (Maintenance LTS). Do NOT downgrade - always use the latest LTS version. ## Remediation Update to a supported Node.js LTS version. ```dockerfile FROM node:24-alpine ``` Learn more: https://shoulder.dev/learn/docker/cwe-1104/outdated-node-version ## Documentation [object Object] ## Related Rules - **Docker Base Image Security** [MEDIUM]: - **Use npm ci for Reproducible Builds** [LOW]: - **.nvmrc Specifies Outdated Node.js Version** [MEDIUM]: - **Node.js Version Mismatch Between Configuration Files** [MEDIUM]: