{"answers":{"affected":"3 open source packages ship an affected version, including github.com/openfga/openfga. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23820 in the wild and no public exploit code.","fix":"Upgrade github.com/openfga/openfga to 1.4.3 or later.","what":"CVE-2024-23820 is a medium-severity denial of service vulnerability in openfga, published on 26 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-23820 and fix it if it is affected.\n\nWhat it is: CVE-2024-23820 is a medium-severity denial of service vulnerability in openfga, published on 26 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-23820 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/openfga/openfga (Go): affected all versions; fixed in 1.4.3\n- github.com/openfga/openfga (Go): affected all versions; fixed in 1.4.3\n- github.com/openfga/openfga (Go): affected all versions; fixed in 1.4.3\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-2024-23820/ (Markdown: https://insights.sbomify.com/CVE-2024-23820/index.md)","id":"CVE-2024-23820","markdown":"https://insights.sbomify.com/CVE-2024-23820/index.md","name":"CVE-2024-23820","record":{"aliases":["GHSA-rxpw-85vw-fx87","GO-2024-2477"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenFGA authorization engine","requires_auth":"low_privilege","summary":"Attackers can cause OpenFGA server crashes via memory exhaustion in ListObjects calls, requiring a patch to restore service availability.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openfga","vendor":"openfga"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"OpenFGA, an authorization/permission engine, is vulnerable to a denial of service attack in versions prior to 1.4.3. In some scenarios that depend on the model and tuples used, a call to `ListObjects` may not  release memory properly. So when a sufficiently high number of those calls are executed, the OpenFGA server can create an `out of memory` error and terminate. Version 1.4.3 contains a patch for this issue.","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":true,"headline":"OpenFGA DoS","id":"CVE-2024-23820","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)","id":"CVE-2024-23821"},"packages":[{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/openfga/openfga","purl":null,"source":"GHSA-rxpw-85vw-fx87"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"GHSA-rxpw-85vw-fx87"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["0"],"last_affected":[],"package":"github.com/openfga/openfga","purl":"pkg:golang/github.com/openfga/openfga","source":"GO-2024-2477"}],"prev":{"headline":"GeoServer Stored Cross-Site Scripting (XSS) vulnerability in MapML HTML Page","id":"CVE-2024-23819"},"products":["openfga"],"published":"2024-01-26","related":[{"cvss_score":8.1,"headline":"OpenFGA Authorization Bypass","id":"CVE-2024-31452","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":7.7,"headline":"OpenFGA Authorization Bypass","id":"CVE-2022-23542","kev_date_added":null,"published":"2022-12-20"},{"cvss_score":7.5,"headline":"OpenFGA Authorization Bypass","id":"CVE-2024-42473","kev_date_added":null,"published":"2024-08-09"},{"cvss_score":6.5,"headline":"OpenFGA Playground Preshared Key Exposure","id":"CVE-2026-40293","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":6.5,"headline":"OpenFGA Authorization Bypass","id":"CVE-2023-40579","kev_date_added":null,"published":"2023-08-25"},{"cvss_score":5.9,"headline":"Denial of service from circular relationship definitions in OpenFGA","id":"CVE-2023-43645","kev_date_added":null,"published":"2023-09-26"},{"cvss_score":5.9,"headline":"OpenFGA denial of service die to circular relationship","id":"CVE-2023-35933","kev_date_added":null,"published":"2023-06-26"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-29","vendors":["openfga"]},"summary":"Attackers can cause OpenFGA server crashes via memory exhaustion in ListObjects calls, requiring a patch to restore service availability.","url":"https://insights.sbomify.com/CVE-2024-23820/"}