7.8

CVE-2021-3939: canonical accountsservice Free of Memory not on the Heap

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2021-3939USN-5149-1
Published 17-11-2021Last modified 16-09-2024

Vulnerability summary

CVE-2021-3939 is a high (CVSS 7.8) Free of Memory not on the Heap vulnerability in canonical accountsservice. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29.7% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 17-11-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

0.00 pp

From 0.37% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Canonical2 products
  • accountsservice≥ 0.6.55-0ubuntu12\~20.04, < 0.6.55-0ubuntu12\~20.05 | ≥ 0.6.55-0ubuntu13, < 0.6.55-0ubuntu13.3 | ≥ 0.6.55-0ubuntu14, < 0.6.55-0ubuntu14.1
  • ubuntu_linuxEOL20.04 | 21.04 | 21.10
Ubuntu2 products
  • accountsservice< 0.6.55-0ubuntu12~20.04.5 | < 0.6.55-3ubuntu2
  • accountsservice≥ 0.6.55-0ubuntu12~20.04, < 0.6.55-0ubuntu12~20.04.5 | ≥ 0.6.55-0ubuntu13, < 0.6.55-0ubuntu13.3 | ≥ 0.6.55-0ubuntu14, < 0.6.55-0ubuntu14.1

2 vendors · 4 products

References

5 links