{"answers":{"affected":"2 open source packages ship an affected version, including github.com/free5gc/amf. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49391 exists.","fix":"No fix has been published for CVE-2023-49391 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-49391 is a high-severity code injection vulnerability in Free5gc Free5gc, published on 22 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-49391 and fix it if it is affected.\n\nWhat it is: CVE-2023-49391 is a high-severity code injection vulnerability in Free5gc Free5gc, published on 22 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49391 exists.\n\nAffected packages and fixed versions:\n- github.com/free5gc/amf (Go): affected all versions up to 1.2.0; no fix listed\n- github.com/free5gc/amf (Go): affected all versions up to 1.2.0; no fix listed\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-2023-49391/ (Markdown: https://insights.sbomify.com/CVE-2023-49391/index.md)","id":"CVE-2023-49391","markdown":"https://insights.sbomify.com/CVE-2023-49391/index.md","name":"CVE-2023-49391","record":{"aliases":["GHSA-jcrr-rr6w-8c83"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"5G Core Network","requires_auth":"none","summary":"Remote attackers can execute arbitrary code and cause denial of service in the AMF component via crafted NGAP messages.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"free5gc","vendor":"free5gc"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"An issue was discovered in free5GC version 3.3.0, allows remote attackers to execute arbitrary code and cause a denial of service (DoS) on AMF component via crafted NGAP message.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"free5GC AMF denial of service vulnerability","id":"CVE-2023-49391","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"free5gc:free5gc","products":["free5gc:free5gc"],"type":"code_injection","year":"2023"},"n_packages":2,"n_references":1,"next":{"headline":"Open redirect in n/a","id":"CVE-2023-49394"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"github.com/free5gc/amf","purl":null,"source":"GHSA-jcrr-rr6w-8c83"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.0"],"package":"github.com/free5gc/amf","purl":"pkg:golang/github.com/free5gc/amf","source":"GHSA-jcrr-rr6w-8c83"}],"prev":{"headline":"Cross-Site Request Forgery in JFinalCMS via /admin/tag/save","id":"CVE-2023-49383"},"products":["n/a"],"published":"2023-12-22","related":[{"cvss_score":10,"headline":"free5GC: NEF nnef-oam route group is unauthenticated; no-token requests reach the OAM handler","id":"CVE-2026-44327","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":10,"headline":"free5GC's SMF UPI management interface lacks auth middleware; unauthenticated topology read/write requests reach handlers","id":"CVE-2026-44329","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":10,"headline":"free5GC's NEF nnef-pfdmanagement API is unauthenticated; forged bearer tokens can read PFD data and create/delete PFD subscriptions","id":"CVE-2026-44330","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2025-63679","kev_date_added":null,"published":"2025-11-12"},{"cvss_score":9.4,"headline":"free5GC's NEF 3gpp-pfd-management API is unauthenticated; forged bearer tokens can create, read, and delete PFD transactions","id":"CVE-2026-44315","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":9.4,"headline":"free5GC's NEF 3gpp-traffic-influence API is unauthenticated; missing or forged bearer tokens can create, read, patch, and delete subscriptions","id":"CVE-2026-44326","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":8.7,"headline":"free5gc UDR improper path validation allows unauthenticated access to Traffic Influence Subscriptions","id":"CVE-2026-40247","kev_date_added":null,"published":"2026-04-16"}],"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":"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-12","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code and cause denial of service in the AMF component via crafted NGAP messages.","url":"https://insights.sbomify.com/CVE-2023-49391/"}