CVE-2017-1087
Vulnerability in FreeBSD
Check your servers for CVE-2017-1087
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2017-1087 affects freebsd, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In FreeBSD 10.x before 10.4-STABLE, 10.4-RELEASE-p3, and 10.3-RELEASE-p24 named paths are globally scoped, meaning a process located in one jail can read and modify the content of POSIX shared memory objects created by a process in another jail or the host system. As a result, a malicious user that has access to a jailed system is able to abuse shared memory by injecting malicious content in the shared memory region. This memory region might be executed by applications trusting the shared memory, like Squid. This issue could lead to a Denial of Service or local privilege escalation.
Exploitation
EPSS 0.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.4% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of freebsd 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 freebsd
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-1087 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-1087RHEL, Rocky, Alma, Fedora
rpm -q freebsd
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-1087Alpine
apk list --installed | grep -i freebsdWith 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-2017-1087
trivy image --scanners vuln IMAGE | grep CVE-2017-1087
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 agent.
References
Advisories
- FreeBSD-SA-17:09 freebsd.org · vendor advisory
Other references
Source: the record CVE-2017-1087 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse