CVE-2022-28391: High severity BusyBox BusyBox vulnerability

Published Apr 3, 2022
·
Updated

BusyBox through 1.35.0 allows remote attackers to execute arbitrary code if netstat is used to print a DNS PTR record's value to a VT compatible terminal. Alternatively the attacker could choose to change the terminal's colors.

Other sources

BusyBox through 1.35.0 allows remote attackers to execute arbitrary code if netstat is used to print a DNS PTR record's value to a VT compatible terminal. Alternatively, the attacker could choose to change the terminal's colors.

Affected Software

31 affected componentsFixes available
BusyBox BusyBox<=1.35.0
alpine/busybox<1.31.1-r22
1.31.1-r22
alpine/busybox<1.32.1-r8
1.32.1-r8
alpine/busybox<1.33.1-r7
1.33.1-r7
alpine/busybox<1.34.1-r5
1.34.1-r5
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
alpine/busybox<1.35.0-r7
1.35.0-r7
All of the following
azurelinux/busybox<1.35.0-2
1.35.0-2
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/busybox<1.36.1-5
1.36.1-5
Microsoft Azure Linux=3.0
All of the following
azurelinux/busybox-petitboot<1.36.1-5
1.36.1-5
Microsoft Azure Linux=3.0
All of the following
azurelinux/busybox-debuginfo<1.35.0-2
1.35.0-2
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/busybox<1.34.1-2
1.34.1-2
Microsoft CBL-Mariner=1.0
All of the following
azurelinux/busybox-petitboot<1.35.0-2
1.35.0-2
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/busybox-petitboot<1.34.1-2
1.34.1-2
Microsoft CBL-Mariner=1.0
All of the following
azurelinux/busybox-debuginfo<1.34.1-2
1.34.1-2
Microsoft CBL-Mariner=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/busybox to a version that resolves this vulnerability.

    Fixed in 1.31.1-r22
  2. Upgrade

    Upgrade alpine/busybox to a version that resolves this vulnerability.

    Fixed in 1.32.1-r8
  3. Upgrade

    Upgrade alpine/busybox to a version that resolves this vulnerability.

    Fixed in 1.33.1-r7
  4. Upgrade

    Upgrade alpine/busybox to a version that resolves this vulnerability.

    Fixed in 1.34.1-r5
  5. Upgrade

    Upgrade alpine/busybox to a version that resolves this vulnerability.

    Fixed in 1.35.0-r7
  6. Upgrade

    Upgrade azurelinux/busybox to a version that resolves this vulnerability.

    Fixed in 1.35.0-2
  7. Upgrade

    Upgrade azurelinux/busybox to a version that resolves this vulnerability.

    Fixed in 1.36.1-5
  8. Upgrade

    Upgrade azurelinux/busybox-petitboot to a version that resolves this vulnerability.

    Fixed in 1.36.1-5
  9. Upgrade

    Upgrade azurelinux/busybox-debuginfo to a version that resolves this vulnerability.

    Fixed in 1.35.0-2
  10. Upgrade

    Upgrade azurelinux/busybox to a version that resolves this vulnerability.

    Fixed in 1.34.1-2
  11. Upgrade

    Upgrade azurelinux/busybox to a version that resolves this vulnerability.

    Fixed in 1.36.1-3
  12. Upgrade

    Upgrade azurelinux/busybox-petitboot to a version that resolves this vulnerability.

    Fixed in 1.35.0-2
  13. Upgrade

    Upgrade azurelinux/busybox-petitboot to a version that resolves this vulnerability.

    Fixed in 1.34.1-2
  14. Upgrade

    Upgrade azurelinux/busybox-debuginfo to a version that resolves this vulnerability.

    Fixed in 1.34.1-2

Event History

Apr 3, 2022
CVE Published
via MITRE·08:20 PM
Data Sourced
via MITRE·08:20 PM
Description
Data Sourced
09:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Apr 13, 2022
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Frequently Asked Questions

1

What is the vulnerability ID for this BusyBox vulnerability?

The vulnerability ID for this BusyBox vulnerability is CVE-2022-28391.

2

How severe is the CVE-2022-28391 vulnerability?

The severity of the CVE-2022-28391 vulnerability is high with a severity value of 8.8.

3

How does BusyBox through version 1.35.0 allow remote attackers to execute arbitrary code?

BusyBox through version 1.35.0 allows remote attackers to execute arbitrary code if netstat is used to print a DNS PTR record's value to a VT compatible terminal.

4

What can remote attackers do to exploit the CVE-2022-28391 vulnerability in BusyBox?

Remote attackers can execute arbitrary code or choose to change the terminal's colors by exploiting the CVE-2022-28391 vulnerability in BusyBox.

5

Where can I find more information about the CVE-2022-28391 vulnerability in BusyBox?

You can find more information about the CVE-2022-28391 vulnerability in BusyBox at the following references: [Reference 1](https://git.alpinelinux.org/aports/plain/main/busybox/0001-libbb-sockaddr2str-ensure-only-printable-characters-.patch), [Reference 2](https://git.alpinelinux.org/aports/plain/main/busybox/0002-nslookup-sanitize-all-printed-strings-with-printable.patch), [Reference 3](https://gitlab.alpinelinux.org/alpine/aports/-/issues/13661).

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