PT-2021-5493 · Canonical+1 · Accountsservice+2
Kevin Backhouse
·
Published
2021-11-16
·
Updated
2025-02-11
·
CVE-2021-3939
CVSS v3.1
7.8
High
| Vector | AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Ubuntu versions prior to 0.6.55-0ubuntu12~20.04.5
Ubuntu versions prior to 0.6.55-0ubuntu13.3
Ubuntu versions prior to 0.6.55-0ubuntu14.1
Ubuntu 21.10
Ubuntu 21.04
Ubuntu 20.04 LTS
Description
The issue is related to a double-free memory corruption error in the accountsservice component of the Ubuntu operating system. This error occurs due to the fallback locale variable being freed in the user change language authorized cb function, which is reachable via the
SetLanguage dbus function. The exploitation of this issue can allow an attacker to locally elevate privileges to root.Recommendations
For Ubuntu versions prior to 0.6.55-0ubuntu1220.04.5, update to version 0.6.55-0ubuntu1220.04.5 or later.
For Ubuntu versions prior to 0.6.55-0ubuntu13.3, update to version 0.6.55-0ubuntu13.3 or later.
For Ubuntu versions prior to 0.6.55-0ubuntu14.1, update to version 0.6.55-0ubuntu14.1 or later.
For Ubuntu 21.10, Ubuntu 21.04, and Ubuntu 20.04 LTS, update to the latest version that includes the fix for this issue.
As a temporary workaround, consider restricting access to the
SetLanguage dbus function until a patch is available.Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Ubuntu
Accountsservice