{"answers":{"affected":"3 open source packages ship an affected version, including jsnapy. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-0023 in the wild and no public exploit code.","fix":"Upgrade jsnapy to 1.3.0 or later.","what":"CVE-2018-0023 is a medium-severity vulnerability in Juniper Networks Junos Snapshot Administrator (JSNAPy), published on 11 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-0023 and fix it if it is affected.\n\nWhat it is: CVE-2018-0023 is a medium-severity vulnerability in Juniper Networks Junos Snapshot Administrator (JSNAPy), published on 11 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-0023 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jsnapy (PyPI): affected all versions; fixed in 1.3.0\n- jsnapy (PyPI): affected all versions; fixed in 1.3.0\n- jsnapy (PyPI): affected all versions; fixed in 1.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-0023/ (Markdown: https://insights.sbomify.com/CVE-2018-0023/index.md)","id":"CVE-2018-0023","markdown":"https://insights.sbomify.com/CVE-2018-0023/index.md","name":"CVE-2018-0023","record":{"aliases":["GHSA-qc55-vm3j-74gp","PYSEC-2018-84"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Juniper JSNAPy tool","requires_auth":"low_privilege","summary":"Unprivileged local users can modify world-writable configuration files in JSNAPy, potentially altering intended automation operations.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[{"product":"jsnapy","vendor":"juniper"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Junos Snapshot Administrator (JSNAPy) world writeable default configuration file permission","id":"CVE-2018-0023","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"misconfiguration","year":"2018"},"n_packages":3,"n_references":2,"next":{"headline":"Junos OS: A privilege escalation vulnerability exists where authenticated users with shell access can become root","id":"CVE-2018-0024"},"packages":[{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"jsnapy","purl":null,"source":"GHSA-qc55-vm3j-74gp"},{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"jsnapy","purl":"pkg:pypi/jsnapy","source":"GHSA-qc55-vm3j-74gp"},{"ecosystem":"PyPI","fixed":["1.3.0"],"introduced":["0"],"last_affected":[],"package":"jsnapy","purl":"pkg:pypi/jsnapy","source":"PYSEC-2018-84"}],"prev":{"headline":"Junos OS: Mbuf leak due to processing MPLS packets in VPLS network.","id":"CVE-2018-0022"},"products":["Junos Snapshot Administrator (JSNAPy)"],"published":"2018-04-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Juniper Networks"]},"summary":"Unprivileged local users can modify world-writable configuration files in JSNAPy, potentially altering intended automation operations.","url":"https://insights.sbomify.com/CVE-2018-0023/"}