CVEfocus › CVE database › CVE-2017-3141

CVE-2017-3141Windows service and uninstall paths are not quoted when BIND is installed

CVSS 7.2 HighEPSS 1.4% (higher than 73% of CVEs)Published 2019-01-16Updated 2024-09-16Assigner: isc

The BIND installer on Windows uses an unquoted service path which can enable a local user to achieve privilege escalation if the host file system permissions allow this. Affects BIND 9.2.6-P2->9.2.9, 9.3.2-P1->9.3.6, 9.4.0->9.8.8, 9.9.0->9.9.10, 9.10.0->9.10.5, 9.11.0->9.11.1, 9.9.3-S1->9.9.10-S1, 9.10.5-S1.

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
25Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04bind9Not affected
vulnerable_code_not_present
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 7bind-chrootNot affected
Red Hat Enterprise Linux 7bind-develNot affected
Red Hat Enterprise Linux 7bind-export-develNot affected
Red Hat Enterprise Linux 7bind-export-libsNot affected
Red Hat Enterprise Linux 7bind-libsNot affected
Red Hat Enterprise Linux 7bind-libs-liteNot affected
Red Hat Enterprise Linux 7bind-licenseNot affected
Red Hat Enterprise Linux 7bind-lite-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11Not affected
Red Hat Enterprise Linux 7bind-pkcs11-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 7bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 7bind-sdbNot affected
Red Hat Enterprise Linux 7bind-sdb-chrootNot affected
Red Hat Enterprise Linux 7bind-utilsNot affected
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
Red Hat Enterprise Linux 5bindNot affected
Red Hat Enterprise Linux 5bind97Not affected
Alpine Linux 3.7bindFixed9.11.3-r0ALPINE-CVE-2017-3141
Alpine Linux 3.6bindFixed9.11.3-r0ALPINE-CVE-2017-3141

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of BIND. These can all be downloaded from http://www.isc.org/downloads. BIND 9 version 9.9.10-P1 BIND 9 version 9.10.5-P1 BIND 9 version 9.11.1-P1 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9 version 9.9.10-S2 BIND 9 version 9.10.5-S2

Workaround: BIND installations on Windows are not at risk if the host file permissions prevent creation of a binary in a location where the service executor would run it instead of named.exe.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.