| Name | CVE-2021-3658 |
| Description | bluetoothd from bluez incorrectly saves adapters' Discoverable status when a device is powered down, and restores it when powered up. If a device is powered down while discoverable, it will be discoverable when powered on again. This could lead to inadvertent exposure of the bluetooth stack to physically nearby attackers. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3879-1 |
| Debian Bugs | 991596 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| bluez (PTS) | bullseye | 5.55-3.1+deb11u1 | vulnerable |
| bullseye (security) | 5.55-3.1+deb11u2 | fixed | |
| bookworm | 5.66-1+deb12u2 | fixed | |
| bookworm (security) | 5.66-1+deb12u1 | fixed | |
| trixie | 5.82-1.1 | fixed | |
| forky, sid | 5.84-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| bluez | source | stretch | (not affected) | |||
| bluez | source | buster | (not affected) | |||
| bluez | source | bullseye | 5.55-3.1+deb11u2 | DLA-3879-1 | ||
| bluez | source | (unstable) | 5.61-1 | 991596 |
[buster] - bluez <not-affected> (Vulnerable code introduced later)
[stretch] - bluez <not-affected> (Vulnerable code introduced later)
Introduced by https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=d04eb02f9bad8795297210ef80e262be16ea8f07 (5.51)
Fixed by https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b497b5942a8beb8f89ca1c359c54ad67ec843055