Exploit database

Vulnerability

CVE-2021-38185

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.

CVE Program

Exploit source choices

1 source
fangqyi/cpiopwn
GH-7dba38a5a9c1f029d07cc6b88a65c94aGitHubUnofficial GitHub sourcePreferred

ACE poc exploit for glibc cpio 2.13 through mmap chunk metadata curruption (CVE-2021-38185)

2021-07-196 files · 5 stars