Use-after-free in accountsservice (Ubuntu package) - CVE-2023-3297

 

Use-after-free in accountsservice (Ubuntu package) - CVE-2023-3297

Published: June 29, 2023


Vulnerability identifier: #VU77792
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-3297
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error when throw_error is called after . A local user can trigger a use-after-free by sending a D-Bus message to the accounts-daemon process and crash the daemon or execute arbitrary code as root.


Affected software

accountsservice (Ubuntu package)
libaccountsservice0 (Ubuntu package)
Ubuntu

How to mitigate CVE-2023-3297

Install updates from vendor's website.

accountsservice (Ubuntu package) - addressed in versions 0.6.55-0ubuntu12~20.04.6, 22.07.5-2ubuntu1.4, 22.08.8-1ubuntu1.1, 22.08.8-1ubuntu7.1, Ubuntu Pro
libaccountsservice0 (Ubuntu package) - addressed in versions Ubuntu Pro, 0.6.55-0ubuntu12~20.04.6, 22.07.5-2ubuntu1.4, 22.08.8-1ubuntu1.1, 22.08.8-1ubuntu7.1

External References

Related Security Bulletins