BIND Package Vulnerability: Assertion Failure Due to Zone Database Reference Counting

bind Updated 02 Oct 2025

Summary

16/01/2019
N/A
Yes i
Medium
5.3

ALPINE-CVE-2018-5736: An error in zone database reference counting can lead to an assertion failure if a server which is running an affected version of BIND attempts several transfers of a slave zone in quick succession. Affects bind versions < 9.12.1_p2-r0. Fixed in 9.12.1_p2-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

BIND (Berkeley Internet Name Domain) is a widely used DNS (Domain Name System) software suite that provides a variety of DNS services, including authoritative DNS and DNS resolver functionalities. It is known for its robustness and flexibility, making it a popular choice for managing DNS records. However, certain versions of BIND are vulnerable to a specific issue that can lead to server crashes under certain conditions, particularly during zone transfers.

Vulnerability Detail

The vulnerability, identified as CVE-2018-5736, arises from an error in zone database reference counting. This flaw can lead to an assertion failure when a server running an affected version of BIND attempts multiple transfers of a slave zone in rapid succession. An attacker with permission to initiate zone transfers could exploit this defect by sending valid NOTIFY messages, causing the named process to terminate unexpectedly after failing an assertion test. The affected versions include BIND 9.12.0 and 9.12.1, with a CVSS score of 5.3 indicating a moderate severity level.

How To Fix

Minimum fixed version

9.12.1_p2-r0

This is the first release that contains the fix.

sudo apk add --upgrade bind

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider restricting access to the DNS server to trusted sources only. This can be done by configuring firewall rules to limit incoming connections to known IP addresses that are allowed to initiate zone transfers.

Conclusion

In summary, CVE-2018-5736 is a significant vulnerability in the BIND package that can lead to server crashes during zone transfers. It is crucial to update to the patched version 9.12.1_p2-r0 to mitigate this risk. Implementing workarounds can provide temporary relief while a full update is planned.

See every vulnerability recorded for bind →

Share this vulnerability

FAQ

CVE-2018-5736 is a vulnerability in the BIND DNS software that can cause assertion failures and server crashes during zone transfers.

The affected versions include BIND 9.12.0 and 9.12.1.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 5.3, indicating a moderate severity level.

If you cannot update the package immediately, consider implementing firewall rules to restrict access to the DNS server to only trusted sources.

Related vulnerabilities

Recent vulnerabilities recorded for bind.

How To Fix

Minimum fixed version

9.12.1_p2-r0

This is the first release that contains the fix.

sudo apk add --upgrade bind

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback