{"answers":{"affected":"3 open source packages ship an affected version, including github.com/free5gc/free5gc and github.com/free5gc/aper. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-43677 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-43677 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-43677 is a medium-severity denial of service vulnerability in Free5gc Free5gc, published on 24 Oct 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-43677 and fix it if it is affected.\n\nWhat it is: CVE-2022-43677 is a medium-severity denial of service vulnerability in Free5gc Free5gc, published on 24 Oct 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-43677 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/free5gc/free5gc (Go): affected all versions up to 3.2.1; no fix listed\n- github.com/free5gc/free5gc (Go): affected all versions up to 3.2.1; no fix listed\n- github.com/free5gc/aper (Go): affected all versions; 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-2022-43677/ (Markdown: https://insights.sbomify.com/CVE-2022-43677/index.md)","id":"CVE-2022-43677","markdown":"https://insights.sbomify.com/CVE-2022-43677/index.md","name":"CVE-2022-43677","record":{"aliases":["GHSA-59hj-62f5-fgmc","GO-2022-1083"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"5G Core Network","requires_auth":"none","summary":"A malformed NGAP message causes an index-out-of-range panic, crashing the AMF and NGAP decoders in free5GC.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"free5gc","vendor":"free5gc"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"In free5GC 3.2.1, a malformed NGAP message can crash the AMF and NGAP decoders via an index-out-of-range panic in aper.GetBitString.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"free5GC vulnerable to malformed NGAP message crashing the AMF and NGAP decoders","id":"CVE-2022-43677","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"free5gc:free5gc","products":["free5gc:free5gc"],"type":"denial_of_service","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Misconfiguration in n/a","id":"CVE-2022-43679"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/free5gc/aper","purl":"pkg:golang/github.com/free5gc/aper","source":"GO-2022-1083"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.2.1"],"package":"github.com/free5gc/free5gc","purl":null,"source":"GHSA-59hj-62f5-fgmc"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.2.1"],"package":"github.com/free5gc/free5gc","purl":"pkg:golang/github.com/free5gc/free5gc","source":"GHSA-59hj-62f5-fgmc"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-43675"},"products":["n/a"],"published":"2022-10-24","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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-03","vendors":["n/a"]},"summary":"A malformed NGAP message causes an index-out-of-range panic, crashing the AMF and NGAP decoders in free5GC.","url":"https://insights.sbomify.com/CVE-2022-43677/"}