{"answers":{"affected":"3 open source packages ship an affected version, including mitmproxy. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-14505 in the wild and no public exploit code.","fix":"Upgrade mitmproxy to 4.0.4 or later.","what":"CVE-2018-14505 is a high-severity server-side request forgery vulnerability in n/a, published on 22 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-14505 and fix it if it is affected.\n\nWhat it is: CVE-2018-14505 is a high-severity server-side request forgery vulnerability in n/a, published on 22 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-14505 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mitmproxy (PyPI): affected all versions; fixed in 4.0.4\n- mitmproxy (PyPI): affected all versions; fixed in 4.0.4\n- mitmproxy (PyPI): affected all versions; fixed in 4.0.4\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-14505/ (Markdown: https://insights.sbomify.com/CVE-2018-14505/index.md)","id":"CVE-2018-14505","markdown":"https://insights.sbomify.com/CVE-2018-14505/index.md","name":"CVE-2018-14505","record":{"aliases":["DEBIAN-CVE-2018-14505","GHSA-6m53-c78q-7qmg","PYSEC-2018-56","UBUNTU-CVE-2018-14505"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"mitmproxy web interface","requires_auth":"none","summary":"Attackers can exploit DNS rebinding in mitmweb to bypass same-origin policies and access internal resources or sensitive data.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mitmproxy","vendor":"mitmproxy"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"mitmweb in mitmproxy v4.0.3 allows DNS Rebinding attacks, related to tools/web/app.py.","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":"Mitmweb in mitmproxy allows DNS Rebinding attacks","id":"CVE-2018-14505","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2018"},"n_packages":3,"n_references":2,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-14512"},"packages":[{"ecosystem":"PyPI","fixed":["4.0.4"],"introduced":["0"],"last_affected":[],"package":"mitmproxy","purl":null,"source":"GHSA-6m53-c78q-7qmg"},{"ecosystem":"PyPI","fixed":["4.0.4"],"introduced":["0"],"last_affected":[],"package":"mitmproxy","purl":"pkg:pypi/mitmproxy","source":"GHSA-6m53-c78q-7qmg"},{"ecosystem":"PyPI","fixed":["4.0.4"],"introduced":["0"],"last_affected":[],"package":"mitmproxy","purl":"pkg:pypi/mitmproxy","source":"PYSEC-2018-56"}],"prev":{"headline":"MantisBT allows XSS on the Edit Filter page via crafted filter name","id":"CVE-2018-14504"},"products":["n/a"],"published":"2018-07-22","related":[{"cvss_score":9.8,"headline":"Insufficient Protection against HTTP Request Smuggling in mitmproxy","id":"CVE-2022-24766","kev_date_added":null,"published":"2022-03-21"},{"cvss_score":8.1,"headline":"Lacking Protection against HTTP Request Smuggling in mitmproxy","id":"CVE-2021-39214","kev_date_added":null,"published":"2021-09-16"},{"cvss_score":4.8,"headline":"ProxyAuth Addon LDAP Injection in mitmproxy","id":"CVE-2026-40606","kev_date_added":null,"published":"2026-04-21"}],"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-05","vendors":["n/a"]},"summary":"Attackers can exploit DNS rebinding in mitmweb to bypass same-origin policies and access internal resources or sensitive data.","url":"https://insights.sbomify.com/CVE-2018-14505/"}