Skip to main content

CVE-2022-39281 — Vulnerability in fat_free_crm — CVE Details

MEDIUM

Fat Free CRM vulnerable to Remote Denial of Service via Tasks endpoint

Published October 7, 2022Updated November 8, 2023Source: OSV

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.

Check my Gemfile.lock

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.

Bundler
Update fat_free_crm to 0.20.1 or later
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).

PackageFixed 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-20
    Improper Input ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

CVSS Score
6.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
1.54%
EPSS percentile: 75.1

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

GHSA-p75c-5x3h-cxcg

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock