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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.0, CNA) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-276
- **Aliases:** GHSA-qc55-vm3j-74gp, PYSEC-2018-84
- **Published:** 2018-04-11T19:00:00.000Z
- **Modified:** 2026-06-17T01:29:24.990Z

## 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

## 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

- PyPI `jsnapy`: affected \< 1.3.0; fixed 1.3.0 (osv)
- Juniper Networks Junos Snapshot Administrator (JSNAPy): \>= all, \< 1.3.0 (cvelist)

## 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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://kb.juniper.net/JSA10856>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-0023>
- vendor: <https://github.com/advisories/GHSA-qc55-vm3j-74gp>
- other: <http://www.securityfocus.com/bid/103745>
- other: <https://github.com/Juniper/jsnapy>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/jsnapy/PYSEC-2018-84.yaml>
- other: <https://web.archive.org/web/20200227125151/http://www.securityfocus.com/bid/103745>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-0023>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qc55-vm3j-74gp> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2018-84> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-0023> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-0023>
