6.5 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:S/C:P/I:P/A:P
6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
0.027 Low
EPSS
Percentile
90.6%
Issue Overview:
As reported upstream (http://chrony.tuxfamily.org/News.html):
When NTP or cmdmon access was configured (from chrony.conf or via authenticated cmdmon) with a subnet size that is indivisible by 4 and an address that has nonzero bits in the 4-bit subnet remainder (e.g. 192.168.15.0/22 or f000::/3), the new setting was written to an incorrect location, possibly outside the allocated array. An attacker that has the command key and is allowed to access cmdmon (only localhost is allowed by default) could exploit this to crash chronyd or possibly execute arbitrary code with the privileges of the chronyd process. (CVE-2015-1821)
When allocating memory to save unacknowledged replies to authenticated command requests, the last “next” pointer was not initialized to NULL. When all allocated reply slots were used, the next reply could be written to an invalid memory instead of allocating a new slot for it. An attacker that has the command key and is allowed to access cmdmon (only localhost is allowed by default) could exploit this to crash chronyd or possibly execute arbitrary code with the privileges of the chronyd process. (CVE-2015-1822)
An attacker knowing that NTP hosts A and B are peering with each other (symmetric association) can send a packet with random timestamps to host A with source address of B which will set the NTP state variables on A to the values sent by the attacker. Host A will then send on its next poll to B a packet with originate timestamp that doesn’t match the transmit timestamp of B and the packet will be dropped. If the attacker does this periodically for both hosts, they won’t be able to synchronize to each other. Authentication using a symmetric key can fully protect against this attack, but in implementations following the NTPv3 (RFC 1305) or NTPv4 (RFC 5905) specification the state variables were updated even when the authentication check failed and the association was not protected. (CVE-2015-1853)
Affected Packages:
chrony
Issue Correction:
Run yum update chrony to update your system.
New Packages:
i686:
chrony-debuginfo-1.31.1-1.13.amzn1.i686
chrony-1.31.1-1.13.amzn1.i686
src:
chrony-1.31.1-1.13.amzn1.src
x86_64:
chrony-debuginfo-1.31.1-1.13.amzn1.x86_64
chrony-1.31.1-1.13.amzn1.x86_64
Red Hat: CVE-2015-1821, CVE-2015-1822, CVE-2015-1853
Mitre: CVE-2015-1821, CVE-2015-1822, CVE-2015-1853
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 1 | i686 | chrony-debuginfo | < 1.31.1-1.13.amzn1 | chrony-debuginfo-1.31.1-1.13.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | chrony | < 1.31.1-1.13.amzn1 | chrony-1.31.1-1.13.amzn1.i686.rpm |
Amazon Linux | 1 | x86_64 | chrony-debuginfo | < 1.31.1-1.13.amzn1 | chrony-debuginfo-1.31.1-1.13.amzn1.x86_64.rpm |
Amazon Linux | 1 | x86_64 | chrony | < 1.31.1-1.13.amzn1 | chrony-1.31.1-1.13.amzn1.x86_64.rpm |
6.5 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:S/C:P/I:P/A:P
6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
0.027 Low
EPSS
Percentile
90.6%