{"answers":{"affected":"3 open source packages ship an affected version, including numpy. It affects 1 product.","exploited":"There is no known exploitation of CVE-2014-1858 in the wild and no public exploit code.","fix":"Upgrade numpy to 1.8.1 or later.","what":"CVE-2014-1858 is a medium-severity path traversal vulnerability in n/a, published on 8 Jan 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-2014-1858 and fix it if it is affected.\n\nWhat it is: CVE-2014-1858 is a medium-severity path traversal vulnerability in n/a, published on 8 Jan 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-2014-1858 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- numpy (PyPI): affected all versions; fixed in 1.8.1\n- numpy (PyPI): affected all versions; fixed in 1.8.1\n- numpy (PyPI): affected all versions; fixed in 1.8.1\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-2014-1858/ (Markdown: https://insights.sbomify.com/CVE-2014-1858/index.md)","id":"CVE-2014-1858","markdown":"https://insights.sbomify.com/CVE-2014-1858/index.md","name":"CVE-2014-1858","record":{"aliases":["GHSA-cw6w-4rcx-xphc","PYSEC-2018-33"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NumPy scientific library","requires_auth":"low_privilege","summary":"Local attackers can overwrite arbitrary files via symlink attacks on temporary files in NumPy's f2py module.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"numpy","vendor":"numpy"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","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-20","name":"Improper Input Validation"}],"description":"__init__.py in f2py in NumPy before 1.8.1 allows local users to write to arbitrary files via a symlink attack on a temporary file.","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":"Arbitrary file write in NumPy","id":"CVE-2014-1858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2014"},"n_packages":3,"n_references":10,"next":{"headline":"Numpy arbitrary file write via symlink attack","id":"CVE-2014-1859"},"packages":[{"ecosystem":"PyPI","fixed":["1.8.1"],"introduced":["0"],"last_affected":[],"package":"numpy","purl":null,"source":"GHSA-cw6w-4rcx-xphc"},{"ecosystem":"PyPI","fixed":["1.8.1"],"introduced":["0"],"last_affected":[],"package":"numpy","purl":"pkg:pypi/numpy","source":"GHSA-cw6w-4rcx-xphc"},{"ecosystem":"PyPI","fixed":["1.8.1"],"introduced":["0"],"last_affected":[],"package":"numpy","purl":"pkg:pypi/numpy","source":"PYSEC-2018-33"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2014-1855"},"products":["n/a"],"published":"2018-01-08","related":[{"cvss_score":7.5,"headline":"Numpy missing input validation","id":"CVE-2017-12852","kev_date_added":null,"published":"2017-08-15"},{"cvss_score":5.5,"headline":"Buffer Copy without Checking Size of Input in NumPy","id":"CVE-2021-41496","kev_date_added":null,"published":"2021-12-17"},{"cvss_score":5.3,"headline":"NumPy Buffer Overflow (Disputed)","id":"CVE-2021-33430","kev_date_added":null,"published":"2021-12-17"},{"cvss_score":5.3,"headline":"Incorrect Comparison in NumPy","id":"CVE-2021-34141","kev_date_added":null,"published":"2021-12-17"},{"cvss_score":5.3,"headline":"NumPy NULL Pointer Dereference","id":"CVE-2021-41495","kev_date_added":null,"published":"2021-12-17"}],"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-08-06","vendors":["n/a"]},"summary":"Local attackers can overwrite arbitrary files via symlink attacks on temporary files in NumPy's f2py module.","url":"https://insights.sbomify.com/CVE-2014-1858/"}