1. CVE archive
  2. 2017
  3. CVE-2017-3138

CVE-2017-3138

5.3 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H 5.3 – Medium

Description

named contains a feature which allows operators to issue commands to a running server by communicating with the server process over a control channel, using a utility program such as rndc. A regression introduced in a recent feature change has created a situation under which some versions of named can be caused to exit with a REQUIRE assertion failure if they are sent a null command string. Affects BIND 9.9.9->9.9.9-P7, 9.9.10b1->9.9.10rc2, 9.10.4->9.10.4-P7, 9.10.5b1->9.10.5rc2, 9.11.0->9.11.0-P4, 9.11.1b1->9.11.1rc2, 9.9.9-S1->9.9.9-S9.

Affected products

VendorProductVersionPlatform
debian debian linux 8.0 –
isc bind 9.9.9 –
isc bind 9.9.9 p1 –
isc bind 9.9.9 p2 –
isc bind 9.9.9 p3 –
isc bind 9.9.9 p4 –
isc bind 9.9.9 p5 –
isc bind 9.9.9 p6 –
isc bind 9.9.9 p7 –
isc bind 9.9.9 s1 –
isc bind 9.9.9 s7 –
isc bind 9.9.10 beta1 –
isc bind 9.9.10 rc1 –
isc bind 9.9.10 rc2 –
isc bind 9.10.4 –
isc bind 9.10.4 p1 –
isc bind 9.10.4 p2 –
isc bind 9.10.4 p3 –
isc bind 9.10.4 p4 –
isc bind 9.10.4 p5 –
isc bind 9.10.4 p6 –
isc bind 9.10.4 p7 –
isc bind 9.10.5 b1 –
isc bind 9.10.5 rc1 –
isc bind 9.10.5 rc2 –
isc bind 9.11.0 –
isc bind 9.11.0 p1 –
isc bind 9.11.0 p2 –
isc bind 9.11.0 p3 –
isc bind 9.11.0 p4 –
isc bind 9.11.1 b1 –
isc bind 9.11.1 rc1 –
isc bind 9.11.1 rc2 –
netapp data ontap edge all –
netapp element software all –
netapp oncommand balance all –
All 212 Isc Bind vulnerabilities

Vulnerability type

CWE-617 Reachable Assertion

The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Impact on systems

ScopeImpact
Availability DoS: Crash, Exit, or Restart
While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, an attacker can still cause a denial of service if they can trigger an assert statement, and if the scope of the assert() extends beyond the attacker's own session. For example, if a server handles multiple simultaneous connections, if an assert() occurs in one single connection that causes all other connections to be dropped, this could be a significant denial of service.

How to prevent it

Implementation If the assertion statement is required (e.g., for security or reliability), change the invoking code to avoid the conditions that trigger the assertion.
Implementation Consider changing the assertion to some other less fatal error. This might not be easy to implement, since other code may be needed to handle the error.
Implementation Make sensitive open/close operations non-reachable from directly user-controlled data (e.g. open/close resources)
Implementation · Input Validation Perform input validation on user data.

All 933 CWE-617 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org