FreeBSDOperating system

CVE-2017-1087

HIGH · 7.8 CVSS v3.0 Published 2017-11-16
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
80/100
Remediation priority · High
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In FreeBSD 10.x, the jail mechanism incorrectly scopes named paths for POSIX shared memory objects globally rather than per-jail. This allows a process in one jail to read and modify shared memory created by processes in another jail or the host system. A malicious user in a jailed environment can inject malicious content into shared memory that may be executed by trusting applications like Squid, leading to DoS or local privilege escalation.

MitigationUpgrade to FreeBSD 10.4-STABLE, 10.4-RELEASE-p3, 10.3-RELEASE-p24 or later. Alternatively, avoid using POSIX shared memory in multi-tenant jail environments or implement additional access controls until patching is possible.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
FreeBSDOperating system
Affected:all versions

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify FreeBSD version
    Run 'uname -r' or check /etc/os-release to determine the FreeBSD version
    Affected if Version starts with 10.x (e.g., 10.0, 10.1, 10.2, 10.3, 10.4) - all 10.x versions are affected
  2. Confirm jail functionality is in use
    Run 'jls' (jail list) to see if any jails are active on the system
    Affected if At least one jail is running or configured on the system
  3. Check for POSIX shared memory usage
    Run 'ipcs -M' or examine running processes for use of shm_open() system call
    Affected if POSIX shared memory objects (shm_open) are in use within jail environments
  4. Inspect shared memory object permissions
    List contents of /dev/shm directory and check for world-readable/writable shared memory files
    Affected if Shared memory objects exist with permissions allowing cross-jail access or are accessible from multiple jails

A system is affected if it runs FreeBSD 10.x, uses jail functionality, and has POSIX shared memory objects accessible across jail boundaries.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to FreeBSD 10.4-STABLE, 10.4-RELEASE-p3, 10.3-RELEASE-p24 or later. Alternatively, avoid using POSIX shared memory in multi-tenant jail environments or implement additional access controls until patching is possible.

Fix this in FreeBSD Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2017-1087 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2017-1087 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data