Input validation error in chrony - CVE-2012-4502

 

Input validation error in chrony - CVE-2012-4502

Published: November 5, 2013 / Updated: December 16, 2021


Vulnerability identifier: #VU42390
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4502
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows remote attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (crash) via a crafted (1) REQ_SUBNETS_ACCESSED or (2) REQ_CLIENT_ACCESSES command request to the PKL_CommandLength function or crafted (3) RPY_SUBNETS_ACCESSED, (4) RPY_CLIENT_ACCESSES, (5) RPY_CLIENT_ACCESSES_BY_INDEX, or (6) RPY_MANUAL_LIST command reply to the PKL_ReplyLength function, which triggers an out-of-bounds read or buffer overflow.


Affected software

chrony
Gentoo Linux
Fedora
chrony

How to mitigate CVE-2012-4502

Install update from vendor's website.

chrony - addressed in versions 1.25-3.el5, 1.25-3.el6

External References

Related Security Bulletins