{"id":"CVE-2022-39281","aliases":["EUVD-2022-7142","GHSA-p75c-5x3h-cxcg"],"status":"published","title":"Remote Denial of Service via Tasks endpoint in fat_free_crm","description":"fat_free_crm is a an open source, Ruby on Rails customer relationship management platform (CRM). In versions prior to 0.20.1 an authenticated user can perform a remote Denial of Service attack against Fat Free CRM via bucket access. The vulnerability has been patched in commit `c85a254` and will be available in release `0.20.1`. Users are advised to upgrade or to manually apply patch `c85a254`. There are no known workarounds for this issue.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01783,"percentile":0.78445,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2022-10-07T21:19:01Z","modified":"2026-10-28T02:31:12Z","fixes":[{"ecosystem":"RubyGems","package":"fat_free_crm","fixed_in":["0.20.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"fat_free_crm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"fat_free_crm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1"}]}],"versions":["0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.12.0","0.12.1","0.12.2","0.12.3","0.13.0","0.13.1","0.13.2","0.13.3","0.13.4","0.13.5","0.13.6","0.14.0","0.14.1","0.14.2","0.15.0","0.15.0.beta","0.15.0.beta.2","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.17.1","0.17.2","0.17.3","0.18.0","0.18.1","0.18.2","0.19.0","0.19.2","0.20.0"]}],"products":[{"vendor":"fatfreecrm","product":"fat_free_crm"},{"vendor":"fatfreecrm","product":"fatfreecrm"}],"references":[{"url":"https://github.com/fatfreecrm/fat_free_crm/security/advisories/GHSA-p75c-5x3h-cxcg","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/fatfreecrm/fat_free_crm/commit/c85a2546348c2692d32f952c753f7f0b43d1ca71","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/fatfreecrm/fat_free_crm/releases/tag/v0.20.1","tags":["x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39281","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fat_free_crm/CVE-2022-39281.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p75c-5x3h-cxcg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39281.json","tags":["advisory"]},{"url":"https://github.com/fatfreecrm/fat_free_crm","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-39281","title":"Remote Denial of Service via Tasks endpoint in fat_free_crm","description":"fat_free_crm is a an open source, Ruby on Rails customer relationship management platform (CRM). In versions prior to 0.20.1 an authenticated user can perform a remote Denial of Service attack against Fat Free CRM via bucket access. The vulnerability has been patched in commit `c85a254` and will be available in release `0.20.1`. Users are advised to upgrade or to manually apply patch `c85a254`. There are no known workarounds for this issue.","status":"published","published":"2022-10-08T00:00:00Z","modified":"2025-04-23T16:52:02.83Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:39.559326Z"}],"euvd":[{"id":"EUVD-2022-7142","description":"fat_free_crm is a an open source, Ruby on Rails customer relationship management platform (CRM). In versions prior to 0.20.1 an authenticated user can perform a remote Denial of Service attack against Fat Free CRM via bucket access. The vulnerability has been patched in commit `c85a254` and will be available in release `0.20.1`. Users are advised to upgrade or to manually apply patch `c85a254`. There are no known workarounds for this issue.","status":"published","published":"2022-10-08T00:00:00Z","modified":"2025-04-23T16:52:02Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T20:52:11.891054Z"}],"ghsa":[{"id":"GHSA-p75c-5x3h-cxcg","title":"Fat Free CRM vulnerable to Remote Denial of Service via Tasks endpoint","description":"### Impact\nAn authenticated user can perform a remote Denial of Service attack against Fat Free CRM.\n\nThis vulnerability has been assigned the CVE identifier: CVE-2022-39281\n\nAffected versions: All\nNot affected: None\nFixed versions: 0.20.1\n\nAll users running an affected release should either upgrade or apply the patch immediately.\n\n### Releases\nFixed versions: 0.20.1 and above\n\n### Patches\n\nIf you are unable to upgrade immediately, you should apply the following patch.\n\n```\ndiff --git a/app/models/polymorphic/task.rb b/app/models/polymorphic/task.rb\nindex d3d5c32c..7cdb24d6 100644\n--- a/app/models/polymorphic/task.rb\n+++ b/app/models/polymorphic/task.rb\n@@ -189,6 +189,7 @@ class Task \u003c ActiveRecord::Base\n   #----------------------------------------------------------------------------\n   def self.bucket_empty?(bucket, user, view = \"pending\")\n     return false if bucket.blank? || !ALLOWED_VIEWS.include?(view)\n+    return false unless Setting.task_bucket.map(\u0026:to_s).include?(bucket.to_s)\n\n     if view == \"assigned\"\n       assigned_by(user).send(bucket).pending.count\n```\n\n### Credits\n\nThanks to @p- for reporting this and working with us to responsibly disclose this vulnerability.\n\n### Further information\nIf you have any questions or comments about this advisory, please Open an issue in [GitHub Issue Tracker](https://github.com/fatfreecrm/fat_free_crm/issues)\n\n","status":"published","published":"2022-10-07T21:19:01Z","modified":"2023-01-31T05:08:16Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:29.957996Z"}],"nvd":[{"id":"CVE-2022-39281","description":"fat_free_crm is a an open source, Ruby on Rails customer relationship management platform (CRM). In versions prior to 0.20.1 an authenticated user can perform a remote Denial of Service attack against Fat Free CRM via bucket access. The vulnerability has been patched in commit `c85a254` and will be available in release `0.20.1`. Users are advised to upgrade or to manually apply patch `c85a254`. There are no known workarounds for this issue.","status":"published","published":"2022-10-08T01:15:08.953Z","modified":"2026-06-17T04:58:03.793Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"CVE-2022-39281","title":"Remote Denial of Service via Tasks endpoint in fat_free_crm","description":"fat_free_crm is a an open source, Ruby on Rails customer relationship management platform (CRM). In versions prior to 0.20.1 an authenticated user can perform a remote Denial of Service attack against Fat Free CRM via bucket access. The vulnerability has been patched in commit `c85a254` and will be available in release `0.20.1`. Users are advised to upgrade or to manually apply patch `c85a254`. There are no known workarounds for this issue.","status":"published","published":"2022-10-08T00:00:00Z","modified":"2026-10-28T02:31:12.864581185Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"GHSA-p75c-5x3h-cxcg","title":"Fat Free CRM vulnerable to Remote Denial of Service via Tasks endpoint","description":"### Impact\nAn authenticated user can perform a remote Denial of Service attack against Fat Free CRM.\n\nThis vulnerability has been assigned the CVE identifier: CVE-2022-39281\n\nAffected versions: All\nNot affected: None\nFixed versions: 0.20.1\n\nAll users running an affected release should either upgrade or apply the patch immediately.\n\n### Releases\nFixed versions: 0.20.1 and above\n\n### Patches\n\nIf you are unable to upgrade immediately, you should apply the following patch.\n\n```\ndiff --git a/app/models/polymorphic/task.rb b/app/models/polymorphic/task.rb\nindex d3d5c32c..7cdb24d6 100644\n--- a/app/models/polymorphic/task.rb\n+++ b/app/models/polymorphic/task.rb\n@@ -189,6 +189,7 @@ class Task \u003c ActiveRecord::Base\n   #----------------------------------------------------------------------------\n   def self.bucket_empty?(bucket, user, view = \"pending\")\n     return false if bucket.blank? || !ALLOWED_VIEWS.include?(view)\n+    return false unless Setting.task_bucket.map(\u0026:to_s).include?(bucket.to_s)\n\n     if view == \"assigned\"\n       assigned_by(user).send(bucket).pending.count\n```\n\n### Credits\n\nThanks to @p- for reporting this and working with us to responsibly disclose this vulnerability.\n\n### Further information\nIf you have any questions or comments about this advisory, please Open an issue in [GitHub Issue Tracker](https://github.com/fatfreecrm/fat_free_crm/issues)\n\n","status":"published","published":"2022-10-07T21:19:01Z","modified":"2023-11-08T04:10:17.591209Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:52.891208Z"}]}}
