First published: Wed Sep 08 2021(Updated: )
Maverick Chung and Qiaoyi Fang discovered that cpio incorrectly handled certain pattern files. A remote attacker could use this issue to cause cpio to crash, resulting in a denial of service, or possibly execute arbitrary code.
Affected Software | Affected Version | How to fix |
---|---|---|
All of | ||
ubuntu/cpio | <2.13+dfsg-4ubuntu0.3 | 2.13+dfsg-4ubuntu0.3 |
=21.04 | ||
All of | ||
ubuntu/cpio | <2.13+dfsg-2ubuntu0.3 | 2.13+dfsg-2ubuntu0.3 |
=20.04 | ||
All of | ||
ubuntu/cpio | <2.12+dfsg-6ubuntu0.18.04.4 | 2.12+dfsg-6ubuntu0.18.04.4 |
=18.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID for this issue is CVE-2021-38185.
The severity level of CVE-2021-38185 is not mentioned in the provided information.
The affected software is cpio version 2.13+dfsg-4ubuntu0.3, 2.13+dfsg-2ubuntu0.3, and 2.12+dfsg-6ubuntu0.18.04.4 on Ubuntu 21.04, 20.04, and 18.04, respectively.
A remote attacker can exploit CVE-2021-38185 by using certain pattern files to cause cpio to crash, resulting in a denial of service or possibly execute arbitrary code.
To fix CVE-2021-38185, you should update cpio to the specified fixed versions: 2.13+dfsg-4ubuntu0.3 for Ubuntu 21.04, 2.13+dfsg-2ubuntu0.3 for Ubuntu 20.04, and 2.12+dfsg-6ubuntu0.18.04.4 for Ubuntu 18.04.