CVE-2021-38185
Publication date 8 August 2021
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
cpio | ||
22.04 LTS jammy |
Fixed 2.13+dfsg-4ubuntu4
|
|
20.04 LTS focal |
Fixed 2.13+dfsg-2ubuntu0.3
|
|
18.04 LTS bionic |
Fixed 2.12+dfsg-6ubuntu0.18.04.4
|
|
16.04 LTS xenial |
Fixed 2.11+dfsg-5ubuntu1.1+esm1
|
|
14.04 LTS trusty |
Fixed 2.11+dfsg-1ubuntu1.2+esm2
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProNotes
mdeslaur
second commit fixes a regression. There seems to still be a regression even with the second commit as it is causing the kernel to FTBFS. Also see debian bugs for regressions. the third commit likely fixes the kernel regressions
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 · High |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5064-1
- GNU cpio vulnerability
- 8 September 2021
- USN-5064-2
- GNU cpio vulnerability
- 27 January 2022
- USN-5064-3
- GNU cpio vulnerability
- 3 August 2023