CVE-2012-4503
published 2013-11-05CVE-2012-4503: 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…
PriorityP426medium5CVSS 2.0
AVNACLAuNCPINAN
EPSS
3.08%
86.4th percentile
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.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | chrony | < chrony 1.29-1 (bookworm) | chrony 1.29-1 (bookworm) |
| tuxfamily | chrony | <= 1.28 | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | — | — |
| tuxfamily | chrony | >= 0 < 1.29-1 | 1.29-1 |
| tuxfamily | chrony | >= 0 < 1.29-1 | 1.29-1 |
| tuxfamily | chrony | >= 0 < 1.29-1 | 1.29-1 |
| tuxfamily | chrony | >= 0 < 1.29-1 | 1.29-1 |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-53c9-c34f-h6w7: cmdmon
ghsa_unreviewed·2022-05-17
CVE-2012-4503 [MEDIUM] CWE-200 GHSA-53c9-c34f-h6w7: cmdmon
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.
OSV
CVE-2012-4503: cmdmon
osv·2013-11-05·CVSS 5.0
CVE-2012-4503 [MEDIUM] CVE-2012-4503: cmdmon
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.
Red Hat
chrony: Two security flaws fixed in chrony-1.29 release
vendor_redhat·2013-08-09·CVSS 5.0
CVE-2012-4503 [MEDIUM] chrony: Two security flaws fixed in chrony-1.29 release
chrony: Two security flaws fixed in chrony-1.29 release
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.
Package: chrony (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2012-4503: chrony - cmdmon.c in Chrony before 1.29 allows remote attackers to obtain potentially sen...
vendor_debian·2012·CVSS 5.0
CVE-2012-4503 [MEDIUM] CVE-2012-4503: chrony - cmdmon.c in Chrony before 1.29 allows remote attackers to obtain potentially sen...
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.
Scope: local
bookworm: resolved (fixed in 1.29-1)
bullseye: resolved (fixed in 1.29-1)
forky: resolved (fixed in 1.29-1)
sid: resolved (fixed in 1.29-1)
trixie: resolved (fixed in 1.29-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2012-4503 CVE-2012-4502 chrony: Two security flaws fixed in chrony-1.29 release [epel-all]
bugzilla·2013-08-09·CVSS 5.0
CVE-2012-4503 [MEDIUM] CVE-2012-4503 CVE-2012-4502 chrony: Two security flaws fixed in chrony-1.29 release [epel-all]
CVE-2012-4503 CVE-2012-4502 chrony: Two security flaws fixed in chrony-1.29 release [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Pleas
Bugzilla
CVE-2012-4503 CVE-2012-4502 chrony: Two security flaws fixed in chrony-1.29 release [fedora-all]
bugzilla·2013-08-09·CVSS 5.0
CVE-2012-4503 [MEDIUM] CVE-2012-4503 CVE-2012-4502 chrony: Two security flaws fixed in chrony-1.29 release [fedora-all]
CVE-2012-4503 CVE-2012-4502 chrony: Two security flaws fixed in chrony-1.29 release [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please n
Bugzilla
CVE-2012-4502 CVE-2012-4503 chrony: Two security flaws fixed in chrony-1.29 release
bugzilla·2012-08-07·CVSS 5.0
CVE-2012-4502 [MEDIUM] CVE-2012-4502 CVE-2012-4503 chrony: Two security flaws fixed in chrony-1.29 release
CVE-2012-4502 CVE-2012-4503 chrony: Two security flaws fixed in chrony-1.29 release
In pktlength.c:PKL_CommandLength(), the computation in the REQ_SUBNETS_ACCESSED/REQ_CLIENT_ACCESSES cases can overflow, and PKL_CommandLength can return a negative value. As a result, the subsequent attempt to hash the packet triggers an out-of-bounds read, segmentation fault, and daemon crash. Attacks are possible from IP addresses listed in the cmdallow ACL (restricted to localhost by default) by sending UDP packets to port 323; no additional authentication is required.
The length computations in pktlength.c:PKL_ReplyLength() should be guarded against overflow, too.
Discussion:
Chrony upstream has released 1.29 version correcting the following two security flaws:
* CVE-2012-4502: Buffer overflow when
http://git.tuxfamily.org/chrony/chrony.git/?p=chrony/chrony.git%3Ba=commitdiff%3Bh=c6fdeeb6bb0b17dc28c19ae492c4a1c498e54ea3http://permalink.gmane.org/gmane.comp.time.chrony.announce/15http://seclists.org/oss-sec/2013/q3/332http://www.debian.org/security/2013/dsa-2760https://bugzilla.redhat.com/show_bug.cgi?id=846392http://git.tuxfamily.org/chrony/chrony.git/?p=chrony/chrony.git%3Ba=commitdiff%3Bh=c6fdeeb6bb0b17dc28c19ae492c4a1c498e54ea3http://permalink.gmane.org/gmane.comp.time.chrony.announce/15http://seclists.org/oss-sec/2013/q3/332http://www.debian.org/security/2013/dsa-2760https://bugzilla.redhat.com/show_bug.cgi?id=846392
2013-11-05
Published