{"answers":{"affected":"3 open source packages ship an affected version, including graphite-web. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-18638 exists.","fix":"Upgrade graphite-web to 1.1.6 or later.","what":"CVE-2017-18638 is a high-severity server-side request forgery vulnerability in n/a, published on 11 Oct 2019. 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-18638 and fix it if it is affected.\n\nWhat it is: CVE-2017-18638 is a high-severity server-side request forgery vulnerability in n/a, published on 11 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-18638 exists.\n\nAffected packages and fixed versions:\n- graphite-web (PyPI): affected all versions; fixed in 1.1.6\n- graphite-web (PyPI): affected all versions; fixed in 1.1.6\n- graphite-web (PyPI): affected all versions; fixed in 1.1.6\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-18638/ (Markdown: https://insights.sbomify.com/CVE-2017-18638/index.md)","id":"CVE-2017-18638","markdown":"https://insights.sbomify.com/CVE-2017-18638/index.md","name":"CVE-2017-18638","record":{"aliases":["DEBIAN-CVE-2017-18638","DLA-1962-1","GHSA-vfj6-275q-4pvm","PYSEC-2019-151","SUSE-SU-2019:2803-1","UBUNTU-CVE-2017-18638"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Graphite web application","requires_auth":"none","summary":"An attacker can exploit a Server-Side Request Forgery vulnerability in Graphite to exfiltrate sensitive data via email.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"graphite","vendor":"graphite_project"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"send_email in graphite-web/webapp/graphite/composer/views.py in Graphite through 1.1.5 is vulnerable to SSRF. The vulnerable SSRF endpoint can be used by an attacker to have the Graphite web server request any resource. The response to this SSRF request is encoded into an image file and then sent to an e-mail address that can be supplied by the attacker. Thus, an attacker can exfiltrate any information.","ecosystems":["PyPI","SUSE:Enterprise Storage 4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2017/CVE-2017-18638.yaml","stars":null,"title":"Graphite \u003c=1.1.5 - Server-Side Request Forgery"}],"tier":"weaponised"},"has_fix":true,"headline":"graphite.composer.views.send_email vulnerable to SSRF","id":"CVE-2017-18638","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2017"},"n_packages":4,"n_references":6,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2017-18639"},"packages":[{"ecosystem":"PyPI","fixed":["1.1.6"],"introduced":["0"],"last_affected":[],"package":"graphite-web","purl":null,"source":"GHSA-vfj6-275q-4pvm"},{"ecosystem":"PyPI","fixed":["1.1.6"],"introduced":["0"],"last_affected":[],"package":"graphite-web","purl":"pkg:pypi/graphite-web","source":"GHSA-vfj6-275q-4pvm"},{"ecosystem":"PyPI","fixed":["1.1.6"],"introduced":["0"],"last_affected":[],"package":"graphite-web","purl":"pkg:pypi/graphite-web","source":"PYSEC-2019-151"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["0.9.12-5.3.1"],"introduced":["0"],"last_affected":[],"package":"graphite-web","purl":"pkg:rpm/suse/graphite-web\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:2803-1"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2017-18636"},"products":["n/a"],"published":"2019-10-11","related":[{"cvss_score":6.8,"headline":"graphite-web is vulnerable to Remote Code Execution via renderLocalView function","id":"CVE-2013-5093","kev_date_added":null,"published":"2013-09-27"},{"cvss_score":6.8,"headline":"graphite-web is vulnerable to Remote Code Execution","id":"CVE-2013-5942","kev_date_added":null,"published":"2013-09-27"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2013-5943","kev_date_added":null,"published":"2013-09-27"},{"cvss_score":3.5,"headline":"Graphite Web Cookie cross site scripting","id":"CVE-2022-4728","kev_date_added":null,"published":"2022-12-24"},{"cvss_score":3.5,"headline":"Graphite Web Template Name cross site scripting","id":"CVE-2022-4729","kev_date_added":null,"published":"2022-12-24"},{"cvss_score":3.5,"headline":"Graphite Web Absolute Time Range cross site scripting","id":"CVE-2022-4730","kev_date_added":null,"published":"2022-12-24"}],"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":"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"An attacker can exploit a Server-Side Request Forgery vulnerability in Graphite to exfiltrate sensitive data via email.","url":"https://insights.sbomify.com/CVE-2017-18638/"}