{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2021-37706 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-37706 is a high-severity vulnerability in Debian Debian Linux, published on 22 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-37706 and fix it if it is affected.\n\nWhat it is: CVE-2021-37706 is a high-severity vulnerability in Debian Debian Linux, published on 22 Dec 2021. 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-2021-37706 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. 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-2021-37706/ (Markdown: https://insights.sbomify.com/CVE-2021-37706/index.md)","id":"CVE-2021-37706","markdown":"https://insights.sbomify.com/CVE-2021-37706/index.md","name":"CVE-2021-37706","record":{"aliases":["ALPINE-CVE-2021-37706","DEBIAN-CVE-2021-37706","GHSA-2qpg-f6wf-w984","UBUNTU-CVE-2021-37706"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PJSIP multimedia library","requires_auth":"none","summary":"A malicious actor can trigger an integer underflow in PJSIP via crafted STUN messages, leading to remote arbitrary code execution.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"certified_asterisk","vendor":"asterisk"},{"product":"debian_linux","vendor":"debian"},{"product":"asterisk","vendor":"sangoma"},{"product":"pjsip","vendor":"teluu"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"description":"PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In affected versions if the incoming STUN message contains an ERROR-CODE attribute, the header length is not checked before performing a subtraction operation, potentially resulting in an integer underflow scenario. This issue affects all users that use STUN. A malicious actor located within the victim’s network may forge and send a specially crafted UDP (STUN) message that could remotely execute arbitrary code on the victim’s machine. Users are advised to upgrade as soon as possible. There are no known workarounds.","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":"Potential integer underflow upon receiving STUN message in PJSIP","id":"CVE-2021-37706","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"integer_overflow","year":"2021"},"n_packages":0,"n_references":9,"next":{"headline":"Manipulation of product reviews via API","id":"CVE-2021-37707"},"packages":[],"prev":{"headline":"Improper Authorization and Origin Validation Error in OneFuzz","id":"CVE-2021-37705"},"products":["pjproject"],"published":"2021-12-22","related":[{"cvss_score":9.1,"headline":"Out-of-bounds read in multipart parsing in PJSIP","id":"CVE-2022-21723","kev_date_added":null,"published":"2022-01-27"},{"cvss_score":8.1,"headline":"Use after free in PJSIP","id":"CVE-2022-23608","kev_date_added":null,"published":"2022-02-22"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2017-9358","kev_date_added":null,"published":"2017-06-02"},{"cvss_score":6.5,"headline":"Null dereference in n/a","id":"CVE-2021-46837","kev_date_added":null,"published":"2022-08-30"},{"cvss_score":6.5,"headline":"Denial of service in n/a","id":"CVE-2020-28242","kev_date_added":null,"published":"2020-11-06"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2013-2686","kev_date_added":null,"published":"2013-03-29"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-04","vendors":["pjsip"]},"summary":"A malicious actor can trigger an integer underflow in PJSIP via crafted STUN messages, leading to remote arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2021-37706/"}