CVE Vulnerabilities

CVE-2018-0493

Use After Free

Published: Apr 03, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.2
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

remctld in remctl before 3.14, when an attacker is authorized to execute a command that uses the sudo option, has a use-after-free that leads to a daemon crash, memory corruption, or arbitrary command execution.

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
RemctlEyrie*3.14 (excluding)
RemctlUbuntuartful*
RemctlUbuntubionic*
RemctlUbuntucosmic*
RemctlUbuntudevel*
RemctlUbuntudisco*
RemctlUbuntueoan*
RemctlUbuntuesm-apps/bionic*
RemctlUbuntuesm-apps/focal*
RemctlUbuntuesm-apps/jammy*
RemctlUbuntuesm-apps/noble*
RemctlUbuntuesm-apps/xenial*
RemctlUbuntufocal*
RemctlUbuntugroovy*
RemctlUbuntuhirsute*
RemctlUbuntuimpish*
RemctlUbuntujammy*
RemctlUbuntukinetic*
RemctlUbuntulunar*
RemctlUbuntumantic*
RemctlUbuntunoble*
RemctlUbuntuoracular*
RemctlUbuntuplucky*
RemctlUbuntuquesting*
RemctlUbuntutrusty*
RemctlUbuntuupstream*
RemctlUbuntuxenial*

Potential Mitigations

References