mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-29 01:31:01 +00:00
21 lines
913 B
Markdown
21 lines
913 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/fangqyi/cpiopwn
|
||
|
- https://github.com/fokypoky/places-list
|
||
|
|