Invalid handling of CLASS != IN
Multiple flaws have been identified in `named` related to the handling of DNS messages whose CLASS is not Internet (`IN`) — for example, `CHAOS` or `HESIOD`, or DNS messages that specify meta-classes (`ANY` or `NONE`) in the question section. Specially crafted requests reaching the affected code paths — recursion, dynamic updates (`UPDATE`), zone change notifications (`NOTIFY`), or processing of `IN`-specific record types in non-`IN` data — can cause assertion failures in `named`.
This issue affects BIND 9 versions 9.11.0 through 9.16.50, 9.18.0 through 9.18.48, 9.20.0 through 9.20.22, 9.21.0 through 9.21.21, 9.11.3-S1 through 9.16.50-S1, 9.18.11-S1 through 9.18.48-S1, and 9.20.9-S1 through 9.20.22-S1.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-20 | CWE-20 Improper Input Validation |
| CWE | CWE-125 | CWE-125 Out-of-bounds Read |
| CWE | CWE-617 | CWE-617 Reachable Assertion |
| CWE | CWE-754 | CWE-754 Improper Check for Unusual or Exceptional Conditions |
| CWE | CWE-843 | CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') |
Type: CWE
Description: CWE-20 Improper Input Validation
Type: CWE
Description: CWE-125 Out-of-bounds Read
Type: CWE
Description: CWE-617 Reachable Assertion
Type: CWE
Description: CWE-754 Improper Check for Unusual or Exceptional Conditions
Type: CWE
Description: CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 3.1 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Impacts
| CAPEC ID | Description |
|---|
| N/A | An attacker able to send specially crafted DNS messages to an affected `named` instance can cause it to terminate unexpectedly, resulting in a denial of service. |
CAPEC ID: N/A
Description: An attacker able to send specially crafted DNS messages to an affected `named` instance can cause it to terminate unexpectedly, resulting in a denial of service.