{"schemaVersion":3,"id":"CVE-2024-23820","aliases":["GHSA-rxpw-85vw-fx87","GO-2024-2477"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-01-26T16:37:27.065Z","modified":"2024-08-29T18:13:51.862Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00734,"percentile":0.5363,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00734},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00734,"percentile":0.5363}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00734,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00734,"percentile":0.5363}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"},{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime","description":"The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/401.html"}],"affected":[{"vendor":"github.com/openfga","product":"openfga","name":"github.com/openfga/openfga","label":"openfga","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/openfga/openfga","purlType":"golang","versions":[{"text":"< 1.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.3","eol":null,"hubHref":null},{"vendor":"openfga","product":"openfga","name":"openfga","label":"openfga","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.3","eol":null,"hubHref":"/vendor/openfga/openfga"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/openfga/openfga/security/advisories/GHSA-rxpw-85vw-fx87","label":"github.com/openfga/openfga/security/advisories/GHSA-rxpw-85vw-fx87","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/openfga/openfga/commit/908ac85c8b7769c8042cca31886df8db01976c39","label":"github.com/openfga/openfga/commit/908ac85c8b7769c8042cca31886df8db01976c39","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/openfga/openfga/releases/tag/v1.4.3","label":"github.com/openfga/openfga/releases/tag/v1.4.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23820","label":"nvd.nist.gov/vuln/detail/CVE-2024-23820","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/openfga/openfga","label":"github.com/openfga/openfga","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-01-26T16:37:27.065Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-29T18:13:51.862Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:46:39.764Z","stale":false,"partial":false}}