CVE-2012-4502
CVE-2012-4502 is a medium-severity vulnerability in Tuxfamily Chrony with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-189.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.0)
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-189
- Affected product: Tuxfamily Chrony
- Published:
- Last modified:
Description
Multiple integer overflows in pktlength.c in Chrony before 1.29 allow remote attackers to 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. NOTE: versions 1.27 and 1.28 do not require authentication to exploit.
Frequently asked questions
- What is CVE-2012-4502?
- Multiple integer overflows in pktlength.c in Chrony before 1.29 allow remote attackers to 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. NOTE: versions 1.27 and 1.28 do not require authentication to exploit.
- How severe is CVE-2012-4502?
- CVE-2012-4502 has a CVSS 2.0 base score of 5.0, rated medium severity.
- Is CVE-2012-4502 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-4502?
- CVE-2012-4502 primarily affects Tuxfamily Chrony. In total, 24 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-4502?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-4502 published?
- CVE-2012-4502 was published on 2013-11-05 and last updated on 2026-06-16.
References
- http://git.tuxfamily.org/chrony/chrony.git/?p=chrony/chrony.git%3Ba=commitdiff%3Bh=7712455d9aa33d0db0945effaa07e900b85987b1
- http://permalink.gmane.org/gmane.comp.time.chrony.announce/15
- http://seclists.org/oss-sec/2013/q3/332
- http://www.debian.org/security/2013/dsa-2760
- https://bugzilla.redhat.com/show_bug.cgi?id=846392
Affected products (24)
- cpe:2.3:a:tuxfamily:chrony:*:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.0:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.1:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.18:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.19:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.19.99.1:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.19.99.2:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.19.99.3:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.20:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.21:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.21:pre1:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.23:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.23:pre1:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.23.1:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.24:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.24:pre1:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.25:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.25:pre1:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.25:pre2:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.26:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.26:pre1:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.27:*:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.27:pre1:*:*:*:*:*:*
- cpe:2.3:a:tuxfamily:chrony:1.28:pre1:*:*:*:*:*:*
More vulnerabilities in Tuxfamily Chrony
- CVE-2016-1567 — High (CVSS 8.1): chrony before 1.31.2 and 2.x before 2.2.1 do not verify peer associations of symmetric keys when authenticating…
- CVE-2015-1853 — Medium (CVSS 6.5): chrony before 1.31.1 does not properly protect state variables in authenticated symmetric NTP associations, which…
- CVE-2015-1822 — Medium (CVSS 6.5): chrony before 1.31.1 does not initialize the last "next" pointer when saving unacknowledged replies to command…
- CVE-2015-1821 — Medium (CVSS 6.5): Heap-based buffer overflow in chrony before 1.31.1 allows remote authenticated users to cause a denial of service…
- CVE-2020-14367 — Medium (CVSS 6.0): A flaw was found in chrony versions before 3.5.1 when creating the PID file under the /var/run/chrony folder. The file…
- CVE-2012-4503 — Medium (CVSS 5.0): cmdmon.c in Chrony before 1.29 allows remote attackers to obtain potentially sensitive information from stack memory…
All CVEs affecting Tuxfamily Chrony →
Other CWE-189 (Numeric Errors) vulnerabilities
- CVE-2015-8396 — Critical (CVSS 10.0): Integer overflow in the ImageRegionReader::ReadIntoBuffer function in…
- CVE-2015-7205 — Critical (CVSS 10.0): Integer underflow in the RTPReceiverVideo::ParseRtpPacket function in Mozilla Firefox before 43.0 and Firefox ESR 38.x…
- CVE-2015-6575 — Critical (CVSS 10.0): SampleTable.cpp in libstagefright in Android before 5.1.1 LMY48I does not properly consider integer promotion, which…
- CVE-2015-3864 — Critical (CVSS 10.0): Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in…
- CVE-2015-3836 — Critical (CVSS 10.0): The Parse_wave function in arm-wt-22k/lib_src/eas_mdls.c in the Sonivox DLS-to-EAS converter in Android before 5.1.1…
- CVE-2015-3834 — Critical (CVSS 10.0): Multiple integer overflows in the BnHDCP::onTransact function in media/libmedia/IHDCP.cpp in libstagefright in Android…