{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2017-9118 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2017-9118 is a high-severity memory corruption vulnerability in Netapp Storage Automation Store, published on 2 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-9118 and fix it if it is affected.\n\nWhat it is: CVE-2017-9118 is a high-severity memory corruption vulnerability in Netapp Storage Automation Store, published on 2 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-9118 in the wild and no public exploit code.\n\nAffected product: Netapp Storage Automation Store. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2017-9118/ (Markdown: https://insights.sbomify.com/CVE-2017-9118/index.md)","id":"CVE-2017-9118","markdown":"https://insights.sbomify.com/CVE-2017-9118/index.md","name":"CVE-2017-9118","record":{"aliases":["GHSA-rhhv-cwx7-v2f7","MGASA-2021-0581","SUSE-SU-2018:2640-1","UBUNTU-CVE-2017-9118"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP scripting language","requires_auth":"none","summary":"Out-of-bounds access in PHP's preg_replace function allows attackers to cause memory corruption, potentially leading to code execution or crashes.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"storage_automation_store","vendor":"netapp"},{"product":"php","vendor":"php"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"PHP 7.1.5 has an Out of bounds access in php_pcre_replace_impl via a crafted preg_replace call.","ecosystems":["SUSE:Linux Enterprise Module for Web and Scripting 12","SUSE:Linux Enterprise Software Development Kit 12 SP3"],"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":"Memory corruption in n/a","id":"CVE-2017-9118","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netapp:storage_automation_store","products":["netapp:storage_automation_store","php:php"],"type":"memory_corruption","year":"2017"},"n_packages":2,"n_references":3,"next":{"headline":"Denial of service in n/a","id":"CVE-2017-9119"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["7.0.7-50.49.1"],"introduced":["0"],"last_affected":[],"package":"php7","purl":"pkg:rpm/suse/php7\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2018:2640-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","fixed":["7.0.7-50.49.1"],"introduced":["0"],"last_affected":[],"package":"php7","purl":"pkg:rpm/suse/php7\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3","source":"SUSE-SU-2018:2640-1"}],"prev":{"headline":"Memory corruption in LibTIFF","id":"CVE-2017-9117"},"products":["n/a"],"published":"2018-08-02","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2019-9025","kev_date_added":null,"published":"2019-02-22"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2017-9120","kev_date_added":null,"published":"2018-08-02"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2018-15132","kev_date_added":null,"published":"2018-08-07"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2018-14884","kev_date_added":null,"published":"2018-08-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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-05","vendors":["n/a"]},"summary":"Out-of-bounds access in PHP's preg_replace function allows attackers to cause memory corruption, potentially leading to code execution or crashes.","url":"https://insights.sbomify.com/CVE-2017-9118/"}