CVE-2018-16845
[UNKNOWN] nginx: Uncontrolled Resource Consumption
Check your servers for CVE-2018-16845
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2018-16845 affects nginx, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
nginx before versions 1.15.6, 1.14.1 has a vulnerability in the ngx_http_mp4_module, which might allow an attacker to cause infinite loop in a worker process, cause a worker process crash, or might result in worker process memory disclosure by using a specially crafted mp4 file. The issue only affects nginx if it is built with the ngx_http_mp4_module (the module is not built by default) and the .mp4. directive is used in the configuration file. Further, the attack is only possible if an attacker is able to trigger processing of a specially crafted mp4 file with the ngx_http_mp4_module.
Severity (CVSS)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 9.84%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.2% of all scored CVEs. Scores of 29 Nov 2026.
Weakness
- CWE-400 Uncontrolled Resource Consumption
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
nginx
[UNKNOWN]
|
affected 1.15.6 affected 1.14.1
|
Is my server affected?
Find the installed version of nginx and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i nginx
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-16845 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-16845RHEL, Rocky, Alma, Fedora
rpm -q nginx
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-16845Alpine
apk list --installed | grep -i nginxWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2018-16845
trivy image --scanners vuln IMAGE | grep CVE-2018-16845
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- DSA-4335 debian.org · vendor advisory
- RHSA-2018:3680 access.redhat.com · vendor advisory
- RHSA-2018:3681 access.redhat.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16845 bugzilla.redhat.com
- RHSA-2018:3653 access.redhat.com · vendor advisory
- RHSA-2018:3652 access.redhat.com · vendor advisory
- USN-3812-1 usn.ubuntu.com · vendor advisory
- openSUSE-SU-2019:2120 lists.opensuse.org · vendor advisory
- https://support.apple.com/kb/HT212818 support.apple.com
Other references
- 105868 securityfocus.com · vdb entry
- 1042039 securitytracker.com · vdb entry
- [debian-lts-announce] 20181108 [SECURITY] [DLA 1572-1] nginx security update lists.debian.org · mailing list
- http://mailman.nginx.org/pipermail/nginx-announce/2018/000221.html mailman.nginx.org
- 20210921 APPLE-SA-2021-09-20-4 Xcode 13 seclists.org · mailing list
Source: the record CVE-2018-16845 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse