CVE-2012-4502
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.29-1 |
| debian | bullseye | fixed | 1.29-1 |
| debian | forky | fixed | 1.29-1 |
| debian | sid | fixed | 1.29-1 |
| debian | trixie | fixed | 1.29-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| tuxfamily | chrony | {"endIncluding":"1.28"} | |
| tuxfamily | chrony | 1.0 | |
| tuxfamily | chrony | 1.1 | |
| tuxfamily | chrony | 1.18 | |
| tuxfamily | chrony | 1.19 | |
| tuxfamily | chrony | 1.19.99.1 | |
| tuxfamily | chrony | 1.19.99.2 | |
| tuxfamily | chrony | 1.19.99.3 | |
| tuxfamily | chrony | 1.20 | |
| tuxfamily | chrony | 1.21 | |
| tuxfamily | chrony | 1.23 | |
| tuxfamily | chrony | 1.23.1 | |
| tuxfamily | chrony | 1.24 | |
| tuxfamily | chrony | 1.25 | |
| tuxfamily | chrony | 1.26 | |
| tuxfamily | chrony | 1.27 | |
| tuxfamily | chrony | 1.28 | |
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
- https://security-tracker.debian.org/tracker/CVE-2012-4502
CWEs
CWE-189
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.