Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1209632 - (CVE-2015-1822) CVE-2015-1822 chrony: uninitialized pointer in cmdmon reply slots
CVE-2015-1822 chrony: uninitialized pointer in cmdmon reply slots
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150407,repor...
: Security
Depends On: 1209633 1209634 1221579
Blocks: 1200382 1210268
  Show dependency treegraph
 
Reported: 2015-04-07 16:45 EDT by Kurt Seifried
Modified: 2015-11-23 08:26 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An uninitialized pointer use flaw was found when allocating memory to save unacknowledged replies to authenticated command requests. An attacker that has the command key and is allowed to access cmdmon (only localhost is allowed by default) could use this flaw to crash chronyd or, possibly, execute arbitrary code with the privileges of the chronyd process.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-20 00:27:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2241 normal SHIPPED_LIVE Moderate: chrony security, bug fix, and enhancement update 2015-11-19 03:59:36 EST

  None (edit)
Description Kurt Seifried 2015-04-07 16:45:57 EDT
Miroslav Lichvar of Red Hat reports:

The last pointer in the list of allocated reply slots that are used to
save authenticated cmdmon replies is not initialized.

This one was actually found couple months ago and it's already fixed
in git, but only recently I realized it could have security
implications.

An authenticated attacker can allocate and deallocate memory with
other commands (e.g. allow/deny) and can force allocation of new reply
slots by making new requests and not acknowledging previous replies,
and then let chronyd write a reply to an invalid memory.
Comment 1 Kurt Seifried 2015-04-07 16:47:24 EDT
Acknowledgements:

This issue was discovered by Miroslav Lichvár of Red Hat.
Comment 2 Kurt Seifried 2015-04-07 16:49:26 EDT
Created chrony tracking bugs for this issue:

Affects: epel-all [bug 1209633]
Comment 3 Kurt Seifried 2015-04-07 16:51:43 EDT
Created chrony tracking bugs for this issue:

Affects: fedora-all [bug 1209634]
Comment 4 Kurt Seifried 2015-04-08 11:59:21 EDT
This issue was fixed upstream:

http://chrony.tuxfamily.org/News.html

The updated version is available at: 

http://download.tuxfamily.org/chrony/chrony-1.31.1.tar.gz
Comment 5 Fedora Update System 2015-04-22 18:43:04 EDT
chrony-2.0-0.3.pre2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Fedora Update System 2015-04-22 18:53:49 EDT
chrony-1.31.1-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2015-04-23 15:00:46 EDT
chrony-1.31.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2015-04-23 15:02:42 EDT
chrony-1.31.1-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2015-04-24 18:50:03 EDT
chrony-1.31.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 errata-xmlrpc 2015-11-19 03:30:05 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2241 https://rhn.redhat.com/errata/RHSA-2015-2241.html

Note You need to log in before you can comment on or make changes to this bug.