CVE-2022-39281: Fat Free CRM vulnerable to Remote Denial of Service via Tasks endpoint
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84644%
CWE
Published
10/7/2022
Updated
1/31/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
fat_free_crm | rubygems | < 0.20.1 | 0.20.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient input validation in the bucket_empty? class method. The pre-patch code only checked if the bucket was blank and if the view was allowed, but didn't validate whether the bucket parameter was part of the configured task_bucket settings. This allowed attackers to supply arbitrary bucket names that would be passed to ActiveRecord's send() method, potentially triggering unintended method calls or expensive database queries. The patch adds the critical validation check 'Setting.task_bucket.map(&:to_s).include?(bucket.to_s)' to properly restrict bucket values, confirming this was the vulnerable point.