// For flags

CVE-2021-3939

Free of static data in accountsservice

Severity Score

7.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

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

*Credits: Kevin Backhouse
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-11-09 CVE Reserved
  • 2021-11-17 CVE Published
  • 2023-06-09 EPSS Updated
  • 2024-09-16 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-590: Free of Memory not on the Heap
  • CWE-763: Release of Invalid Pointer or Reference
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Canonical
Search vendor "Canonical"
Accountsservice
Search vendor "Canonical" for product "Accountsservice"
>= 0.6.55-0ubuntu12\~20.04 < 0.6.55-0ubuntu12\~20.05
Search vendor "Canonical" for product "Accountsservice" and version " >= 0.6.55-0ubuntu12\~20.04 < 0.6.55-0ubuntu12\~20.05"
-
Affected
Canonical
Search vendor "Canonical"
Accountsservice
Search vendor "Canonical" for product "Accountsservice"
>= 0.6.55-0ubuntu13 < 0.6.55-0ubuntu13.3
Search vendor "Canonical" for product "Accountsservice" and version " >= 0.6.55-0ubuntu13 < 0.6.55-0ubuntu13.3"
-
Affected
Canonical
Search vendor "Canonical"
Accountsservice
Search vendor "Canonical" for product "Accountsservice"
>= 0.6.55-0ubuntu14 < 0.6.55-0ubuntu14.1
Search vendor "Canonical" for product "Accountsservice" and version " >= 0.6.55-0ubuntu14 < 0.6.55-0ubuntu14.1"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
20.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "20.04"
lts
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
21.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "21.04"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
21.10
Search vendor "Canonical" for product "Ubuntu Linux" and version "21.10"
-
Affected