{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-2070 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-2070 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-2070 is a critical memory corruption vulnerability in Grandstream GSD3710, published on 23 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2070 and fix it if it is affected.\n\nWhat it is: CVE-2022-2070 is a critical memory corruption vulnerability in Grandstream GSD3710, published on 23 Sep 2022. 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-2022-2070 in the wild and no public exploit code.\n\nAffected product: Grandstream GSD3710. 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-2022-2070/ (Markdown: https://insights.sbomify.com/CVE-2022-2070/index.md)","id":"CVE-2022-2070","markdown":"https://insights.sbomify.com/CVE-2022-2070/index.md","name":"CVE-2022-2070","record":{"aliases":["GHSA-54xp-94gx-wj5g"],"analysis":{"component_type":"iot_embedded","fix_type":"no_fix_stated","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Grandstream GSD3710","requires_auth":"none","summary":"Remote attackers can execute arbitrary code and gain full system access via stack overflow in Grandstream GSD3710 daemons.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"INCIBE","cpe":[{"product":"gds3710_firmware","vendor":"grandstream"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"In Grandstream GSD3710 in its 1.0.11.13 version, it's possible to overflow the stack since it doesn't check the param length before using the sscanf instruction. Because of that, an attacker could create a socket and connect with a remote IP:port by opening a shell and getting full access to the system. The exploit affects daemons dbmng and logsrv that are running on ports 8000 and 8001 by default.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2025-05-25","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-05-25","kind":"exploitdb","ref":"52303","stars":null,"title":"Grandstream GSD3710 1.0.11.13 - Stack Buffer Overflow"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Grandstream GSD3710 Stack-based Buffer Overflow","id":"CVE-2022-2070","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Name Directory \u003c 1.25.4 - Stored Cross-Site Scripting via CSRF","id":"CVE-2022-2071"},"packages":[],"prev":{"headline":"Datalogics APDFL library Heap-based Buffer Overflow","id":"CVE-2022-2069"},"products":["Grandstream GSD3710"],"published":"2022-09-23","related":[{"cvss_score":9.8,"headline":"Grandstream GSD3710 Stack-based Buffer Overflow","id":"CVE-2022-2025","kev_date_added":null,"published":"2022-09-23"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-22","vendors":["Grandstream"]},"summary":"Remote attackers can execute arbitrary code and gain full system access via stack overflow in Grandstream GSD3710 daemons.","url":"https://insights.sbomify.com/CVE-2022-2070/"}