{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-4058 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-4058 is a high-severity server-side request forgery vulnerability in Talos coTURN, published on 21 Mar 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-4058 and fix it if it is affected.\n\nWhat it is: CVE-2018-4058 is a high-severity server-side request forgery vulnerability in Talos coTURN, published on 21 Mar 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-4058 in the wild and no public exploit code.\n\nAffected product: Talos coTURN. 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-2018-4058/ (Markdown: https://insights.sbomify.com/CVE-2018-4058/index.md)","id":"CVE-2018-4058","markdown":"https://insights.sbomify.com/CVE-2018-4058/index.md","name":"CVE-2018-4058","record":{"aliases":["DEBIAN-CVE-2018-4058","GHSA-j75v-963h-65p5","UBUNTU-CVE-2018-4058"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"TURN server","requires_auth":"low_privilege","summary":"An attacker can exploit the default TURN server configuration to relay traffic to the loopback interface, accessing private services on the host.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"coturn","vendor":"coturn_project"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","version":"3.0"},"cwes":[],"description":"An exploitable unsafe default configuration vulnerability exists in the TURN server functionality of coTURN prior to 4.5.0.9. By default, the TURN server allows relaying external traffic to the loopback interface of its own host. This can provide access to other private services running on that host, which can lead to further attacks. An attacker can set up a relay with a loopback address as the peer on an affected TURN server to trigger this vulnerability.","ecosystems":[],"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":"Server-side request forgery in coTURN","id":"CVE-2018-4058","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Missing authorization in coTURN","id":"CVE-2018-4059"},"packages":[],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2018-4057"},"products":["coTURN"],"published":"2019-03-21","related":[{"cvss_score":9.1,"headline":"SQL injection in coTURN","id":"CVE-2018-4056","kev_date_added":null,"published":"2019-02-05"},{"cvss_score":8.1,"headline":"Coturn: Stack buffer overflow in decode_oauth_token_gcm()","id":"CVE-2026-43994","kev_date_added":null,"published":"2026-06-18"},{"cvss_score":7.5,"headline":"Coturn: Misaligned Memory Access in coturn STUN Attribute Parser (Remote DoS on ARM64)","id":"CVE-2026-40613","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":7.4,"headline":"Coturn: IPv4-mapped 127.0.0.1 bypasses default loopback peer protection","id":"CVE-2026-53450","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":7.2,"headline":"Coturn: SQL Injection in HTTPS Admin Panel Delete Operations","id":"CVE-2026-53448","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":7.2,"headline":"Coturn: IPv4-mapped IPv6 (::ffff:0:0/96) bypasses denied-peer-ip ACL","id":"CVE-2026-27624","kev_date_added":null,"published":"2026-02-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Talos"]},"summary":"An attacker can exploit the default TURN server configuration to relay traffic to the loopback interface, accessing private services on the host.","url":"https://insights.sbomify.com/CVE-2018-4058/"}