CVE Vulnerabilities

CVE-2023-3297

Use After Free

Published: Sep 01, 2023 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
8.4 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In Ubuntus 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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
AccountsserviceCanonical*23.13.9-2ubuntu2 (excluding)
AccountsserviceUbuntubionic*
AccountsserviceUbuntudevel*
AccountsserviceUbuntuesm-infra-legacy/trusty*
AccountsserviceUbuntuesm-infra/bionic*
AccountsserviceUbuntuesm-infra/focal*
AccountsserviceUbuntuesm-infra/xenial*
AccountsserviceUbuntufocal*
AccountsserviceUbuntujammy*
AccountsserviceUbuntukinetic*
AccountsserviceUbuntulunar*
AccountsserviceUbuntumantic*
AccountsserviceUbuntutrusty*
AccountsserviceUbuntutrusty/esm*
AccountsserviceUbuntuxenial*

Potential Mitigations

References