{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-41157 in the wild and no public exploit code.","fix":"Change a configuration setting.","what":"CVE-2021-41157 is a medium-severity missing authorization vulnerability in signalwire freeswitch, published on 26 Oct 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-41157 and fix it if it is affected.\n\nWhat it is: CVE-2021-41157 is a medium-severity missing authorization vulnerability in signalwire freeswitch, published on 26 Oct 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-41157 in the wild and no public exploit code.\n\nAffected product: signalwire freeswitch. 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-41157/ (Markdown: https://insights.sbomify.com/CVE-2021-41157/index.md)","id":"CVE-2021-41157","markdown":"https://insights.sbomify.com/CVE-2021-41157/index.md","name":"CVE-2021-41157","record":{"aliases":["ALPINE-CVE-2021-41157","GHSA-g7xg-7c54-rmpj"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"FreeSWITCH telecom stack","requires_auth":"none","summary":"Attackers can subscribe to user agent event notifications without authentication, allowing them to monitor SIP extension status and potentially facilitate social engineering attacks.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"freeswitch","vendor":"freeswitch"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-287","name":"Improper Authentication"}],"description":"FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. By default, SIP requests of the type SUBSCRIBE are not authenticated in the affected versions of FreeSWITCH. Abuse of this security issue allows attackers to subscribe to user agent event notifications without the need to authenticate. This abuse poses privacy concerns and might lead to social engineering or similar attacks. For example, attackers may be able to monitor the status of target SIP extensions. Although this issue was fixed in version v1.10.6, installations upgraded to the fixed version of FreeSWITCH from an older version, may still be vulnerable if the configuration is not updated accordingly. Software upgrades do not update the configuration by default. SIP SUBSCRIBE messages should be authenticated by default so that FreeSWITCH administrators do not need to explicitly set the `auth-subscriptions` parameter. When following such a recommendation, a new parameter can be introduced to explicitly disable authentication.","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":"FreeSWITCH does not authenticate SIP SUBSCRIBE requests by default","id":"CVE-2021-41157","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2021"},"n_packages":0,"n_references":4,"next":{"headline":"FreeSWITCH vulnerable to SIP digest leak for configured gateways","id":"CVE-2021-41158"},"packages":[],"prev":{"headline":"Reflected XSS vulnerability","id":"CVE-2021-41156"},"products":["freeswitch"],"published":"2021-10-26","related":[{"cvss_score":9.8,"headline":"FreeSWITCH: Pre-authentication heap buffer overflow in `mod_verto` HTTP POST body read","id":"CVE-2026-49841","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2019-19492","kev_date_added":null,"published":"2019-12-02"},{"cvss_score":9.1,"headline":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing","id":"CVE-2026-49840","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":8.6,"headline":"FreeSWITCH susceptible to Denial of Service via SIP flooding","id":"CVE-2021-41145","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":7.5,"headline":"Freeswitch Denial-of-Service in SIP PUBLISH Requests via XML Entity Expansion","id":"CVE-2026-45771","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"FreeSWITCH: Out-of-bounds memory access in core STUN attribute parsing","id":"CVE-2026-49475","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"FreeSWITCH: Pre-authentication bandwidth amplification via `mod_verto` speed-test frames","id":"CVE-2026-49842","kev_date_added":null,"published":"2026-06-09"}],"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":"2024-08-04","vendors":["signalwire"]},"summary":"Attackers can subscribe to user agent event notifications without authentication, allowing them to monitor SIP extension status and potentially facilitate social engineering attacks.","url":"https://insights.sbomify.com/CVE-2021-41157/"}