Medium severity · published Mar 25, 2025
CVE-2022-1804
accountsservice no longer drops permissions when writting .pam_environment
5.5
CVSS
0.1%
EPSS
No
On KEV
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
Accountsservice · Canonical
before 22.07.5-2ubuntu1.3 · source: NVD
UL
Ubuntu Linux · Canonical
22.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-1804
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-1804
Issue Tracking
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1974250
Vendor Advisory
https://ubuntu.com/security/notices/USN-5439-1
More from Accountsservice
7.8
CVE-2026-61898
accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts
7.8
CVE-2026-61897
accountsservice: incomplete privilege drop when running Ubuntu-specific language helper scripts
7.8
CVE-2023-3297
In Ubuntu's accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process
7.8
CVE-2021-3939
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…
–
CVE-2011-4406
The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary…
