CVE-2022-39281 — Vulnerability in fat_free_crm — CVE Details
Fat Free CRM vulnerable to Remote Denial of Service via Tasks endpoint
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.54%). Schedule for your next planned update.
Does your project use an affected fat_free_crm version?
Paste your Gemfile.lock to check it for CVE-2022-39281 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
An authenticated user can perform a remote Denial of Service attack against Fat Free CRM.
This vulnerability has been assigned the CVE identifier: CVE-2022-39281
Affected versions: All Not affected: None Fixed versions: 0.20.1
All users running an affected release should either upgrade or apply the patch immediately.
Releases
Fixed versions: 0.20.1 and above
Patches
If you are unable to upgrade immediately, you should apply the following patch.
diff --git a/app/models/polymorphic/task.rb b/app/models/polymorphic/task.rb
index d3d5c32c..7cdb24d6 100644
--- a/app/models/polymorphic/task.rb
+++ b/app/models/polymorphic/task.rb
@@ -189,6 +189,7 @@ class Task < ActiveRecord::Base
#----------------------------------------------------------------------------
def self.bucket_empty?(bucket, user, view = "pending")
return false if bucket.blank? || !ALLOWED_VIEWS.include?(view)
+ return false unless Setting.task_bucket.map(&:to_s).include?(bucket.to_s)
if view == "assigned"
assigned_by(user).send(bucket).pending.count
Credits
Thanks to @p- for reporting this and working with us to responsibly disclose this vulnerability.
Further information
If you have any questions or comments about this advisory, please Open an issue in GitHub Issue Tracker
Advisory Timeline
- First published October 7, 2022 (1511 days ago).
- Last revised November 8, 2023 — 396 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install fat_free_crm -v 0.20.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| fat_free_crm RubyGems · Affected: 0.11.0, 0.11.1, 0.11.2, 0.11.3 (+34 more) | 0.20.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/fatfreecrm/fat_free_crm/security/advisories/GHSA-p75c-5x3h-cxcgWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39281ADVISORY
- https://github.com/fatfreecrm/fat_free_crm/commit/c85a2546348c2692d32f952c753f7f0b43d1ca71WEB
- https://github.com/fatfreecrm/fat_free_crmPACKAGE
- https://github.com/fatfreecrm/fat_free_crm/releases/tag/v0.20.1WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fat_free_crm/CVE-2022-39281.ymlWEB
Frequently Asked Questions
- What is CVE-2022-39281?
- Fat Free CRM vulnerable to Remote Denial of Service via Tasks endpoint. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2022-39281?
- CVE-2022-39281 affects fat_free_crm. It has a 1.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-39281 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This places it in the top quartile of EPSS-scored vulnerabilities — 75.1% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2018-1000842MEDIUM
Fat Free CRM vulnerable to Cross-site Scripting