CVE-2018-0023: JSNAPy allows unprivileged local users to alter files under the directory

jsnapy Updated 02 Oct 2025

Summary

12/07/2018
Yes i
High
5.5

CVE-2018-0023: JSNAPy allows unprivileged local users to alter files under the directory. 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 available through github. It is an automation tool used for managing and administering Junos devices. JSNAPy allows users to create and execute snapshots of device configurations and compare them against predefined templates. This helps in automating network testing and verification processes. However, versions prior to 1.3.0 have a vulnerability where the default configuration and sample files are created with world-writable permissions. This allows unprivileged local users to modify the files under this directory, potentially inserting unintended operations.

Vulnerability Detail

The insecure file and directory permissions in JSNAPy versions prior to 1.3.0 can be exploited by unprivileged local users. By altering the files under the directory, these users can introduce unauthorized operations that were not intended by the package maintainer, system administrator, or other users. This vulnerability only affects users who downloaded and installed JSNAPy from github. The impact of this vulnerability can range from unauthorized modifications to the JSNAPy configuration and sample files, potentially leading to system instability or security breaches.

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.

Conclusion

JSNAPy versions prior to 1.3.0 have a vulnerability that allows unprivileged local users to alter files under the directory. This can lead to unauthorized modifications and potential security breaches. Users should upgrade to JSNAPy 1.3.0 or later to fix this vulnerability. For further support on vulnerability remediation, 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 and administering Junos devices.

The vulnerability allows unprivileged local users to alter files under the JSNAPy directory, potentially introducing unauthorized operations and compromising the integrity of the system.

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

To fix this vulnerability, users should upgrade to JSNAPy version 1.3.0 or later. This version addresses the insecure file and directory permissions.

No specific workaround has been mentioned for this vulnerability.

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