Bug 1184573 (CVE-2014-9297, CVE-2014-9750)
Summary: | CVE-2014-9297 CVE-2014-9750 ntp: vallen in extension fields are not validated | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Vasyl Kaigorodov <vkaigoro> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | mlichvar, mprpic, pdwyer, sardella, security-response-team |
Target Milestone: | --- | Keywords: | Reopened, Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
A stack-based buffer overflow was found in the way the NTP autokey protocol was implemented. When an NTP client decrypted a secret received from an NTP server, it could cause that client to crash.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-08 02:38:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1189412, 1193501, 1221565 | ||
Bug Blocks: | 1184574, 1189411, 1193283, 1210268 |
Description
Vasyl Kaigorodov
2015-01-21 16:58:37 UTC
*** Bug 1189406 has been marked as a duplicate of this bug. *** External References: http://support.ntp.org/bin/view/Main/SecurityNotice#vallen_is_not_validated_in_sever ntp-4.2.6p5-20.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. ntp-4.2.6p5-27.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. The vulnerable code is a part of the NTP autokey protocol. The client sends a public RSA key to the server, which encrypts a 32 bit secret and sends it back to the client. The client then decrypts it and stores it in a 32 bit integer temp32, However, the decrypted cleartext can be up to (keysize/8)-42 in size (e.g. 214 bytes for a 2048 bit key), which can result in a stack based buffer overflow. There are two factors which cause this issue to have low security impact: 1. "autokey" needs to be explicitly enabled by generated a key using "ntp-keygen" utility and adding the following to the config file: crypto pw serverpassword keysdir /etc/ntp A mitigation is to disable autokey protocol, until this vulnerability is patched. 2. By default, the version of "ntp-keygen" utility shipped with Red Hat Enterprise Linux generate 512-bit RSA keys. Depending on the arch, this may overwrite upto 18 bytes on the stack and does not seem to cause any significant security impact. Statement: This issue affects the versions of ntp as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/. A mitigation for Red Hat Enterprise Linux 6 and 7 is available at: https://bugzilla.redhat.com/show_bug.cgi?id=1184573#c16 This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2015:1459 https://rhn.redhat.com/errata/RHSA-2015-1459.html The CVE-2014-9297 (and CVE-2014-9298) was rejected, apparently because of an incorrect use on some unspecified place, where ids were ids were probably swapped. CVE-2014-9750 is now expected to be used for the issue the CVE-2014-9297 previously referred to. This bug report was previously updated to replace rejected CVE id with the new one. However, as the rejected id was already used in a released RHSA and is still the only id listed on the upstream security pages, I'm re-adding the rejected id here. Released RHSA erratum was updated to also list the new CVE id as fixed. This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2015:2231 https://rhn.redhat.com/errata/RHSA-2015-2231.html |