CVE-2021-3939Free of static data in accountsservice
Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | accountsservice | Fixed | 0.6.55-3ubuntu2 | UBUNTU-CVE-2021-3939 |
| Ubuntu 20.04 | accountsservice | Fixed | 0.6.55-0ubuntu12~20.04.5 | UBUNTU-CVE-2021-3939 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Ubuntu accountsservice: affected: 0.6.55-0ubuntu12~20.04 to before 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13 to before 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14 to before 0.6.55-0ubuntu14.1; fixed in
0.6.55-0ubuntu12~20.04.5,0.6.55-0ubuntu13.3,0.6.55-0ubuntu14.1
References
- https://ubuntu.com/security/notices/USN-5149-1
- https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149
- http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.