Dockerfile-fedora
Starts from fedora:35, installs yum-utils, valgrind, unzip, and unzip debuginfo.
CVE-2022-0530/Dockerfile-fedora:1-4CVE-2022-0530 has a selected CVSS score of 5.5 (medium); EIP currently links 2 repository PoCs and 2 lab environments.
A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.
| Product | Source | Version range | Status |
|---|---|---|---|
unzip | CVE List | 6.0 | affected |
Two Dockerfiles (Fedora 35 and Ubuntu 20.04) that install unzip with debug symbols and valgrind, plus reproduction scripts that mount a testcase zip and run valgrind unzip, then drop into a shell. The README describes a SIGSEGV null-pointer dereference in unzip's utf8-to-local-string conversion.
CVE-2022-0530/Dockerfile-fedora:1-4CVE-2022-0530/Dockerfile-ubuntu:1-11CVE-2022-0530/reproduce-fedora.sh:1-14CVE-2022-0530/reproduce-ubuntu.sh:1-14CVE-2022-0530/README.txt:1-20The unit is named CVE-2022-0530, the README describes a specific crash (SIGSEGV, null-pointer dereference) in unzip, provides a testcase, and includes Dockerfiles and scripts to reproduce the crash under valgrind. This is a classic vulnerability reproduction environment.
CVE-2022-0530/README.txt:1-20CVE-2022-0530/reproduce-fedora.sh:1-14Starts from fedora:35, installs yum-utils, valgrind, unzip, and unzip debuginfo.
CVE-2022-0530/Dockerfile-fedora:1-4Starts from ubuntu:20.04, sets DEBIAN_FRONTEND noninteractive, adds Ubuntu debug symbol repositories and keys, installs valgrind, libbz2-1.0-dbgsym, and unzip-dbgsym.
CVE-2022-0530/Dockerfile-ubuntu:1-11Builds the fedora image, runs valgrind unzip on the mounted testcase, then drops into a bash shell with the testcase available.
CVE-2022-0530/reproduce-fedora.sh:1-14Builds the ubuntu image, runs valgrind unzip on the mounted testcase, then drops into a bash shell with the testcase available.
CVE-2022-0530/reproduce-ubuntu.sh:1-14A binary file (uninspected) that is mounted into the containers as /testcase and processed by unzip to trigger the SIGSEGV.
CVE-2022-0530/README.txt:5-7CVE-2022-0530/reproduce-fedora.sh:8-9Describes the null-pointer dereference in unzip's utf8_to_local_string, provides valgrind output from both distros, and references the reproduction scripts.
CVE-2022-0530/README.txt:1-20Supported by supplied evidence
The README explicitly describes a SIGSEGV null-pointer dereference in unzip during utf-8 to local string conversion, matching the CVE-2022-0530 identifier in the unit path. The valgrind output shows an invalid read of size 8 at address 0x0 in functions related to string conversion (wide_to_local_string, utf8_to_local_string, do_string).
CVE-2022-0530/README.txt:1-20CVE-2022-0530/README.txt:48-80CVE-2022-0530/README.txt:110-140CVE-2022-0530/reproduce-fedora.sh:6-7CVE-2022-0530/reproduce-fedora.sh:8-9CVE-2022-0530/reproduce-fedora.sh:1-14CVE-2022-0530/reproduce-ubuntu.sh:1-14CVE-2022-0530/reproduce-fedora.sh:12-14The Dockerfiles only install debugging tools and unzip from official repositories. The scripts mount a local testcase read-only and run valgrind unzip, then offer an interactive shell. No network services are exposed, no privileged mode is used, no host files are written, and no external connections are made beyond the initial apt/dnf package installation during build. The behavior is entirely contained within the lab's purpose of demonstrating a crash in unzip.
CVE-2022-0530/Dockerfile-fedora:1-4CVE-2022-0530/Dockerfile-ubuntu:1-11CVE-2022-0530/reproduce-fedora.sh:8-14This 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.
Two Dockerfiles (Fedora 35 and Ubuntu 20.04) that install unzip with debug symbols and valgrind, plus reproduction scripts and a malformed testcase, to demonstrate a null-pointer dereference crash in unzip.
CVE-2022-0530/Dockerfile-fedora:1-4CVE-2022-0530/Dockerfile-ubuntu:1-11CVE-2022-0530/README.txt:1-5The README describes a null-pointer dereference in unzip, provides a crashing testcase, and includes Docker-based reproduction scripts. The Dockerfiles install debugging tools (valgrind, debug symbols) specifically to observe the crash, which is consistent with a vulnerability research environment.
CVE-2022-0530/README.txt:1-5CVE-2022-0530/README.txt:7-12CVE-2022-0530/README.txt:17-19Starts from fedora:35, installs yum-utils, valgrind, and unzip, then runs debuginfo-install for unzip to provide debug symbols.
CVE-2022-0530/Dockerfile-fedora:1-4Starts from ubuntu:20.04, sets noninteractive frontend, installs lsb-core, dbgsym keyring, debian-goodies, adds Ubuntu debug symbol repository, and installs valgrind, libbz2-1.0-dbgsym, and unzip-dbgsym.
CVE-2022-0530/Dockerfile-ubuntu:1-11Builds the Fedora Docker image, runs unzip on the testcase under valgrind, then drops into a shell with the testcase mounted read-only.
CVE-2022-0530/reproduce-fedora.sh:1-14Builds the Ubuntu Docker image, runs unzip on the testcase under valgrind, then drops into a shell with the testcase mounted read-only.
CVE-2022-0530/reproduce-ubuntu.sh:1-14A binary file (uninspected) that is mounted into the containers and passed to unzip to cause a segmentation fault.
CVE-2022-0530/README.txt:3-5CVE-2022-0530/reproduce-fedora.sh:8-9Supported by supplied evidence
The README describes a null-pointer dereference in unzip during UTF-8 to local string conversion, and the valgrind output shows an invalid read of size 8 at address 0x0 in functions related to that conversion, matching the CVE description.
CVE-2022-0530/README.txt:1-12CVE-2022-0530/README.txt:47-60CVE-2022-0530/README.txt:103-116CVE-2022-0530/reproduce-fedora.sh:6-7CVE-2022-0530/reproduce-ubuntu.sh:6-7CVE-2022-0530/reproduce-fedora.sh:8-9CVE-2022-0530/reproduce-ubuntu.sh:8-9CVE-2022-0530/reproduce-fedora.sh:6-7CVE-2022-0530/reproduce-ubuntu.sh:6-7CVE-2022-0530/reproduce-fedora.sh:8-10CVE-2022-0530/reproduce-ubuntu.sh:8-10CVE-2022-0530/reproduce-fedora.sh:12-14CVE-2022-0530/reproduce-ubuntu.sh:12-14The environment is a self-contained vulnerability lab. The Dockerfiles only install debugging tools and unzip. The scripts mount a local testcase read-only and run unzip under valgrind, then optionally provide an interactive shell. No network connections, host file writes, privilege escalation, or persistence mechanisms are observed. All behavior targets the lab's own unzip target.
CVE-2022-0530/Dockerfile-fedora:1-4CVE-2022-0530/Dockerfile-ubuntu:1-11CVE-2022-0530/reproduce-fedora.sh:1-14CVE-2022-0530/reproduce-ubuntu.sh:1-14This 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.