node:0-slim base image
Provides the Node.js 0.x runtime environment on a slim Debian base, which includes the vulnerable c-ares library.
Dockerfile:1CVE-2016-5180 has a selected CVSS score of 9.8 (critical); EIP currently links 3 repository PoCs and 1 lab environment.
Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot.
A single-container Node.js web application that accepts a hostname via a form and performs a DNS resolution, described as a CTF challenge vulnerable to CVE-2016-5180.
Dockerfile:1-17package.json:1-13server.js:1-34The package.json description explicitly states 'CTF vulnerable to CVE-2016-5180 (Node.js + c-ares)' and the server.js code passes user-supplied hostname directly to dns.resolve, which is the attack vector for CVE-2016-5180.
package.json:4server.js:21-22Provides the Node.js 0.x runtime environment on a slim Debian base, which includes the vulnerable c-ares library.
Dockerfile:1An Express.js application serving a form at GET / and a POST /register endpoint that takes a 'callback' hostname and resolves it using dns.resolve without sanitization, enabling the CVE-2016-5180 vulnerability.
server.js:1-34Supported by supplied evidence
The environment uses Node.js 0.x (node:0-slim) which bundles a vulnerable c-ares version, and the application passes unsanitized user input to dns.resolve, matching the known attack vector for CVE-2016-5180 (a buffer overflow in c-ares).
Dockerfile:1server.js:21-22Dockerfile:1-17Dockerfile:14server.js:18-22Dockerfile:1-17Dockerfile:14server.js:21-22The visible code only starts a web server on port 3000 and performs DNS resolution on user input. There is no evidence of host escape, external connectivity beyond DNS, persistence, credential theft, or destructive behavior. The behavior is entirely contained within the lab's intended vulnerability demonstration.
server.js:1-34Dockerfile:1-17This review is limited to the supplied lab evidence packet. It does not assert that the environment runs, reproduces a vulnerability, or is safe to execute. Contract: eip-docker-lab-analysis-v1.