CVE-2018-0023
Junos Snapshot Administrator (JSNAPy) world writeable default configuration file permission
Also known as GHSA-qc55-vm3j-74gp, PYSEC-2018-84
Mitigation
- Upgrade jsnapy to 1.3.0 or later.
- Vendor workaround: 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
Who should check
- Projects that depend on PyPI package jsnapy (< 1.3.0)
- Anyone running Juniper Networks Junos Snapshot Administrator (JSNAPy) >= all, < 1.3.0
Vulnerability facts
- Affected
- jsnapy < 1.3.0
- Fixed in
- 1.3.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.0, CNA)CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-276
- Modified
Description
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 versions prior to 1.3.0 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI jsnapy | < 1.3.0 | 1.3.0 | osv |
| Juniper Networks Junos Snapshot Administrator (JSNAPy) | >= all, < 1.3.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-0023. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-0023.md Affected: jsnapy < 1.3.0 Fixed in: 1.3.0 Steps: 1. Search this machine and project for jsnapy (PyPI), Juniper Networks Junos Snapshot Administrator (JSNAPy): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2018-0023 being exploited?
There is no confirmed exploitation: CVE-2018-0023 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-0023?
Medium: CVSS 5.5 (v3.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2018-0023?
jsnapy < 1.3.0.
Is there a fix for CVE-2018-0023?
Yes. Fixed in 1.3.0. Upgrade jsnapy to 1.3.0 or later. Vendor workaround: 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
How do I check if I'm affected by CVE-2018-0023?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.