Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

2021-07 Security Bulletin: Junos OS: FreeBSD-SA-17:09.shm : POSIX shm allows jails to access global namespace (CVE-2017-1087)



Article ID: JSA11177 SECURITY_ADVISORIES Last Updated: 14 Jul 2021Version: 3.0
Product Affected:
This issue affects Junos OS 15.1, 17.3.

An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability, where 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 of Juniper Networks Junos OS. 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. This issue could lead to a Denial of Service (DoS) or local privilege escalation.

This issue affects:

Juniper Networks Junos OS

  • 15.1 versions prior to 15.1R7-S9;
  • 17.3 versions prior to 17.3R3-S11.

This issue does not affect SRX Series.

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue was discovered during external security research.

This issue has been assigned CVE-2017-1087.


The following software releases have been updated to resolve this specific issue: Junos OS 15.1R7-S9, 17.3R3-S11 and all subsequent releases.

This issue is being tracked as 1325911.


There are no viable workarounds for this issue.

To reduce the risk of malicious exploitation, use access lists or firewall filters to limit CLI access to the device only from trusted, administrative networks or hosts. Additionally, limit access to the Junos OS shell to only trusted system administrators.

Software releases or updates are available for download at
Modification History:
2021-07-14: Initial Publication.
CVSS Score:
7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Severity Level:
Severity Assessment:
Information for how Juniper Networks uses CVSS can be found at KB 16446 "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search