Support Support Downloads Knowledge Base Juniper 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

2018-04 Security Bulletin: Junos Snapshot Administrator (JSNAPy) world writeable default configuration file permission (CVE-2018-0023)



Article ID: JSA10856 SECURITY_ADVISORIES Last Updated: 11 Apr 2018Version: 4.0
Product Affected:
This issue affects Junos Snapshot Administrator (JSNAPy).

JSNAPy is an open source python version of Junos Snapshot Administrator developed by Juniper available through github.

The default configuration and sample files of JSNAPy automation tool are created world writable. This insecure file and directory permission allows unprivileged local users to alter the files under this directory including inserting operations not intended by the package maintainer, system administrator, or other users.

This issue only affects users who downloaded and installed JSNAPy from github.

This issue was found during internal product security testing or research.

This issue has been assigned CVE-2018-0023.


This issue is resolved in 1.3.0 and subsequent releases.

Fixed JSNAPy releases can be downloaded from

Upgrading to the fixed release is not sufficient to resolve the issue, modifying file permission after upgrade as described in the workaround section is required.
This issue is fixed for fresh/new installation.


The workaround is to change the related files and directory to group/world to readable, but not writable:

# sudo chmod -R og-w /etc/jsnapy
# ls -l /etc/jsnapy/
total 20
-rwxr-xr-x 1 root root 387 Aug 9 2016 jsnapy.cfg
-rwxr-xr-x 1 root root 1695 Aug 9 2016 logging.yml
drwxr-xr-x 2 root root 4096 Aug 26 2016 samples
drwxr-xr-x 2 root root 4096 Aug 26 2016 snapshots
drwxr-xr-x 2 root root 4096 Aug 26 2016 testfiles
Latest JSNAPy version can be downloaded at
Modification History:
  • 2018-04-11: Initial Publication.


CVSS Score:
5.5 (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N)
Severity Level:

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