Description
cmdmon.c in Chrony before 1.29 allows remote attackers to obtain potentially sensitive information from stack memory via vectors related to (1) an invalid subnet in a RPY_SUBNETS_ACCESSED command to the handle_subnets_accessed function or (2) a RPY_CLIENT_ACCESSES command to the handle_client_accesses function when client logging is disabled, which causes uninitialized data to be included in a reply.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | chrony | 1.29-1 | — |
| Debian 13 | chrony | 1.29-1 | — |
| Debian 12 | chrony | 1.29-1 | — |
| Debian 7 | chrony | 1.24-3.1+deb7u2 | DSA-2760-1 |
| Debian 6.0 | chrony | 1.24-3+squeeze1 | DSA-2760-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | chrony | 2.4.1-1.1 | openSUSE-SU-2024:10345-1 |
Advisories 2
- DSA-2760-1 chrony - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10345-1 chrony-2.4.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [chrony-announce] 20130808 chrony-1.29 released (security) mailing-list
- DSA-2760 vendor-advisory
- [oss-security] 20130809 [Not a CVE request, just notification] CVE-2012-4502, CVE-2012-4503 -- Two security flaws fixed in Chrony v1.29 mailing-list
- http://git.tuxfamily.org/chrony/chrony.git/?p=chrony/chrony.git%3Ba=commitdiff%3Bh=c6fdeeb6bb0b17dc28c19ae492c4a1c498e54ea3
- https://bugzilla.redhat.com/show_bug.cgi?id=846392