cve.bz

CVE-2019-18934 OS Command Injection

7.3 highExploit referenceEPSS 3.2%Fix available

High (7.3). EPSS 3.2% estimated probability of exploitation activity in the next 30 days.

On this page
Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiving a specially crafted answer. This issue can only be triggered if unbound was compiled with `--enable-ipsecmod` support, and ipsecmod is enabled and used in the configuration.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-18934 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-18934?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-18934?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-18934 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nlnetlabs:unboundfrom 1.6.4 through 1.9.4
fedoraproject:fedora31
opensuse:leap15.1
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14unbound1.9.6-1DEBIAN-CVE-2019-18934
Red Hatenterprise_linux:8::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.7.3-10.el8RHSA-2020:1716
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreunbound1.6.8-3.6.1SUSE-SU-2020:1819-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2unbound1.6.8-10.3.1SUSE-SU-2020:1772-1
openSUSELeap 15.1unbound, libunbound-devel-mini1.6.8-lp151.8.3.1openSUSE-SU-2020:0912-1
openSUSELeap 15.2unbound, libunbound-devel-mini1.6.8-lp152.9.3.1openSUSE-SU-2020:0913-1
openSUSETumbleweedunbound1.13.2-1.2openSUSE-SU-2024:11005-1
Alpinev3.8unbound1.7.3-r2ALPINE-CVE-2019-18934
Alpinev3.9unbound1.8.3-r3ALPINE-CVE-2019-18934
Alpinev3.10unbound1.9.1-r4ALPINE-CVE-2019-18934
Alpinev3.11, v3.12, v3.13 and 11 moreunbound1.9.5-r0ALPINE-CVE-2019-18934

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The versions of unbound as shipped in Red Hat Enterprise Linux 7 and 8 have `ipsecmod` disabled by default, even though it could be activated through the unbound-control command, it would only be executable by high-privilege users. Moreover, the `username` option is enabled, reducing the impact of a successful attack, and DNSSEC is used by default, preventing an attacker from modifying DNS packets on the wire. Finally, the default SELinux policies prevent unbound from running any shell command.

Red Hat's mitigation

* Do not enable ipsecmod in the unbound.conf configuration file nor via unbound-control, if DNSSEC based Opportunistic IPsec is not used.

* Use the `username` option in unbound.conf to make unbound drop privileges and reduce the impact of a successful attack.

* Enable SELinux to prevent unbound from executing shell commands, apart from the expected one specified in the `ipsecmod-hook` option.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8unbound-0:1.7.3-10.el8Fixed 2020-04-28RHSA-2020:1716
Red Hat Enterprise Linux 6unboundNot affected
Red Hat Enterprise Linux 7unboundWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-18934.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON