CVE-2018-0023: Insecure File and Directory Permissions in jsnapy

jsnapy Updated 02 Oct 2025

Summary

11/04/2018
Yes i
High
5.5

CVE-2018-0023: JSNAPy is an open source python version of Junos Snapshot Administrator developed by Juniper available through github. Affects jsnapy versions < 1.3.0. Fixed in 1.3.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

jsnapy is an open source Python version of Junos Snapshot Administrator developed by Juniper. It is an automation tool used for managing Junos devices. The tool allows users to create and manage snapshots of device configurations. jsnapy is available on GitHub. The default configuration and sample files of jsnapy versions prior to 1.3.0 have insecure file and directory permissions, making them world writable. This vulnerability allows unprivileged local users to modify these files, potentially inserting unauthorized operations. It is important to note that this issue only affects users who downloaded and installed jsnapy from GitHub.

Vulnerability Detail

The vulnerability in jsnapy arises from the insecure file and directory permissions set for the default configuration and sample files. These files are created with world-writable permissions, which means any user on the system can modify them. This can lead to unauthorized changes to the files, potentially compromising the intended functionality of the tool. An attacker with local access to the system could exploit this vulnerability to insert malicious operations into the files, bypassing the intended security measures. It is crucial for users of jsnapy versions prior to 1.3.0 to address this vulnerability to prevent unauthorized modifications and maintain the integrity of their configurations.

How To Fix

Minimum fixed version

1.3.0

This is the first release that contains the fix.

pip install --upgrade "jsnapy==1.3.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. Users are advised to update to the latest version of jsnapy as soon as possible.

Conclusion

In summary, the jsnapy automation tool versions prior to 1.3.0 have insecure file and directory permissions, allowing unprivileged local users to modify the default configuration and sample files. This vulnerability can lead to unauthorized operations being inserted into the files. Users should update to jsnapy version 1.3.0 or later to address this issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for jsnapy →

Share this vulnerability

FAQ

jsnapy is an open source Python version of Junos Snapshot Administrator developed by Juniper. It is an automation tool used for managing Junos devices.

This vulnerability allows unprivileged local users to modify the default configuration and sample files of jsnapy, potentially inserting unauthorized operations.

This vulnerability affects users who downloaded and installed jsnapy from GitHub, specifically versions prior to 1.3.0.

To fix this vulnerability, update to jsnapy version 1.3.0 or later. Ensure that the file permissions are no longer world writable.

There is no specific workaround mentioned for this vulnerability. Updating to the latest version is the recommended solution.

How To Fix

Minimum fixed version

1.3.0

This is the first release that contains the fix.

pip install --upgrade "jsnapy==1.3.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback