CVE-2018-1000842: Fat free crm Cross-Site Scripting Vulnerability
MODERATECVE-2018-1000842 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Fat free crm libraries in the RubyGems ecosystem. The issue involves fat free crm vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 0.14.2, 0.15.2, 0.16.4, 0.17.3, 0.18.1.
CVE-2018-1000842 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2018-1000842
To remediate this vulnerability, upgrade all affected Fat free crm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade fat_free_crm to 0.14.2
Upgrade fat_free_crm to 0.15.2
Upgrade fat_free_crm to 0.16.4
Upgrade fat_free_crm to 0.17.3
Upgrade fat_free_crm to 0.18.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for fat_free_crm
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-1000842, inspect your project dependencies for Fat free crm:
inspect dependencies for fat_free_crm
Analyze the terminal output to locate any version of Fat free crm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.14.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Fat free crm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-1000842 Affected Fat free crm Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fat_free_crm
|
RubyGems |
< 0.14.2
|
0.14.2
|
|
fat_free_crm
|
RubyGems |
≥ 0.15.0
< 0.15.2
|
0.15.2
|
|
fat_free_crm
|
RubyGems |
≥ 0.16.0
< 0.16.4
|
0.16.4
|
|
fat_free_crm
|
RubyGems |
≥ 0.17.0
< 0.17.3
|
0.17.3
|
|
fat_free_crm
|
RubyGems |
≥ 0.18.0
< 0.18.1
All 1 versions
0.18.0
|
0.18.1
|
References
Frequently Asked Questions
What is CVE-2018-1000842?
Which Fat free crm versions are affected?
What version fixes CVE-2018-1000842?
Is fat_free_crm affected?
What is the CVSS score of CVE-2018-1000842?
What CWE is associated with CVE-2018-1000842?
How can I check RubyGems dependencies for CVE-2018-1000842?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j5rj-g695-342r",
"modified" : "2023-08-25T21:22:06Z",
"published" : "2018-12-20T22:01:54Z",
"aliases" : [ "CVE-2018-1000842" ],
"summary" : "Fat Free CRM vulnerable to Cross-site Scripting",
"details" : "FatFreeCRM version `<=0.14.1`, `>=0.15.0 <=0.15.1`, `>=0.16.0 <=0.16.3`, `>=0.17.0 <=0.17.2`, and `==0.18.0` contains a Cross Site Scripting (XSS) vulnerability in [commit 6d60bc8ed010c4eda05d6645c64849f415f68d65](https://github.com/asteinhauser/fat_free_crm/commit/306f940b26ccf3f406665f07bece1229a7a5dcfa) that can result in Javascript execution. This attack appears to be exploitable via Content with Javascript payload will be executed on end user browsers when they visit the page. This vulnerability appears to have been fixed in 0.18.1, 0.17.3, 0.16.4, 0.15.2, and 0.14.2.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "fat_free_crm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.14.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "fat_free_crm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.15.0"
}, {
"fixed" : "0.15.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "fat_free_crm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.16.0"
}, {
"fixed" : "0.16.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "fat_free_crm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.17.0"
}, {
"fixed" : "0.17.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "fat_free_crm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.18.0"
}, {
"fixed" : "0.18.1"
} ]
} ],
"versions" : [ "0.18.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000842"
}, {
"type" : "WEB",
"url" : "https://github.com/asteinhauser/fat_free_crm/issues/1"
}, {
"type" : "WEB",
"url" : "https://github.com/asteinhauser/fat_free_crm/commit/306f940b26ccf3f406665f07bece1229a7a5dcfa"
}, {
"type" : "WEB",
"url" : "https://github.com/asteinhauser/fat_free_crm"
}, {
"type" : "WEB",
"url" : "https://github.com/fatfreecrm/fat_free_crm/wiki/XSS-Vulnerability-%282018-10-27%29"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fat_free_crm/CVE-2018-1000842.yml"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/fat-free-crm-users/TxsdZXSe7Jc"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:42:09Z",
"nvd_published_at" : "2018-12-20T15:29:00Z"
}
}