CVE-2021-3939
JSON

7.8high

Free of static data in accountsservice

Severity
7.8high CVSS:3.1 by canonical
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical

Description

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.

Affected

Product or packageVersionsReported by
Ubuntu accountsservicefrom 0.6.55-0ubuntu12~20.04 before 0.6.55-0ubuntu12~20.04.5, from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.3, from 0.6.55-0ubuntu14 before 0.6.55-0ubuntu14.1CVE List
canonical accountsservicefrom 0.6.55-0ubuntu12\~20.04 before 0.6.55-0ubuntu12\~20.05, from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.3, from 0.6.55-0ubuntu14 before 0.6.55-0ubuntu14.1NVD
canonical ubuntu_linux20.04, 21.04, 21.10NVD

All scores

canonical7.8high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.2high CVSS:2.0AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

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.

NVD (es)

Unas modificaciones específicas de Ubuntu a accountsservice (en el archivo de parche debian/patches/0010-set-language.patch) causaron la liberación de la variable fallback_locale, que apunta al almacenamiento estático, en la función user_change_language_authorized_cb. Esto es accesible por medio de la función dbus SetLanguage. Esto es corregido en las versiones 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1

References

Sources

SourceRecordLicence
CVE ListCVE-2021-3939 changed 2024-09-16CVE Terms of Use
NVDCVE-2021-3939 changed 2026-06-17Public domain