join
donate

NTP Bug 2940

Stack exhaustion in recursive traversal of restriction list

  • Date Resolved: Stable (4.2.8p6) 19 Jan 2016; Dev (4.3.90) 19 Jan 2016
  • References: Sec 2940 / CVE-2015-7978
  • Affects: All ntp-4 releases up to, but not including 4.2.8p6, and 4.3.0 up to, but not including 4.3.90
  • CVSS: (AV:N/AC:M/Au:N/C:N/I:N/A:P) Base Score: 4.3
  • Summary: An unauthenticated ntpdc reslist command can cause a segmentation fault in ntpd by exhausting the call stack.
  • Mitigation:
    • Implement BCP-38.
    • Upgrade to 4.2.8p5, or later, from the NTP Project Download Page or the NTP Public Services Project Download Page.
    • If you are unable to upgrade:
      • In ntp-4.2.8, mode 7 is disabled by default. Don't enable it.
      • If you must enable mode 7:
        • configure the use of a requestkey to control who can issue mode 7 requests.
        • configure restrict noquery to further limit mode 7 requests to trusted sources.
    • Monitor your ntpd instances.
  • Credit: This weakness was discovered by Stephen Gray <stepgray@cisco.com> of Cisco ASIG.


This topic: Main > SecurityNotice > NtpBug2940
Topic revision: r1 - 2016-01-20 - 11:34:08 - HarlanStenn
 
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback