vulnerability
Arch Linux: Arbitrary command execution (CVE-2021-38185)
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:M/Au:N/C:P/I:P/A:P) | Aug 7, 2021 | Jul 11, 2025 | Nov 27, 2025 |
Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
Aug 7, 2021
Added
Jul 11, 2025
Modified
Nov 27, 2025
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.
Solution
arch-linux-upgrade-latest
References
- CVE-2021-38185
- https://attackerkb.com/topics/CVE-2021-38185
- URL-https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dd96882877721703e19272fe25034560b794061b
- URL-https://github.com/fangqyi/cpiopwn
- URL-https://lists.debian.org/debian-lts-announce/2023/06/msg00007.html
- URL-https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00000.html
- URL-https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00002.html
- CWE-190
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.