CVE-2022-28391
Publication date 3 April 2022
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| busybox | ||
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Not affected
|
|
| 18.04 LTS bionic |
Not affected
|
|
| 16.04 LTS xenial |
Not affected
|
|
| 14.04 LTS trusty |
Not affected
|
Notes
seth-arnold
I understand the “fix” introduces memory leaks. This may or may not matter.
mdeslaur
no upstream patch available as of 2024-11-25. Terminals on Ubuntu shouldn’t allow executing arbitrary code because of escape sequences. This vulnerability only exists when busybox is built against musl instead of glibc, so marking as not-affected for Ubuntu.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Other references
- https://gitlab.alpinelinux.org/alpine/aports/-/issues/13661
- https://git.alpinelinux.org/aports/plain/main/busybox/0001-libbb-sockaddr2str-ensure-only-printable-characters-.patch
- https://git.alpinelinux.org/aports/plain/main/busybox/0002-nslookup-sanitize-all-printed-strings-with-printable.patch
- https://www.cve.org/CVERecord?id=CVE-2022-28391