USN-5064-1: GNU cpio vulnerability

Published Sep 8, 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

6 affected componentsFixes available
All of the following
ubuntu/cpio<2.13+dfsg-4ubuntu0.3
2.13+dfsg-4ubuntu0.3
Ubuntu Ubuntu=21.04
All of the following
ubuntu/cpio<2.13+dfsg-2ubuntu0.3
2.13+dfsg-2ubuntu0.3
Ubuntu Ubuntu=20.04
All of the following
ubuntu/cpio<2.12+dfsg-6ubuntu0.18.04.4
2.12+dfsg-6ubuntu0.18.04.4
Ubuntu Ubuntu=18.04

Event History

Sep 8, 2021
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-38185.

2

What is the severity level of CVE-2021-38185?

The severity level of CVE-2021-38185 is not mentioned in the provided information.

3

What is the affected software?

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.

4

How can a remote attacker exploit CVE-2021-38185?

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.

5

How can I fix CVE-2021-38185?

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203