mirror of
https://github.com/0xMarcio/cve.git
synced 2025-06-19 17:30:12 +00:00
20 lines
876 B
Markdown
20 lines
876 B
Markdown
### [CVE-2021-38185](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38185)
|
|

|
|

|
|

|
|
|
|
### 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.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- https://github.com/fangqyi/cpiopwn
|
|
|
|
#### Github
|
|
- https://github.com/ARPSyndicate/cvemon
|
|
- https://github.com/Jauler/cve2021-3156-sudo-heap-overflow
|
|
- https://github.com/fokypoky/places-list
|
|
|