CVE-2024-7106: Spina Cross-Site Request Forgery Vulnerability
MODERATECVE-2024-7106 is a MODERATE (CVSS 4.3) cross-site request forgery vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Spina libraries in the RubyGems ecosystem. The issue involves cross-site request forgery in spina. Remediation is available in the latest vendor maintenance releases.
CVE-2024-7106 at a Glance
Security Impact
CVSS: 4.3
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:U/C:N/I:L/A:N).
How to Fix CVE-2024-7106
To remediate this vulnerability, upgrade all affected Spina 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 spina to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for spina
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-7106, inspect your project dependencies for Spina:
inspect dependencies for spina
Analyze the terminal output to locate any version of Spina in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Spina, 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-2024-7106 Affected Spina Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
spina
|
RubyGems |
≤ 2.18.0
|
|
References
Frequently Asked Questions
What is CVE-2024-7106?
Which Spina versions are affected?
What version fixes CVE-2024-7106?
Is spina affected?
What is the CVSS score of CVE-2024-7106?
What CWE is associated with CVE-2024-7106?
How can I check RubyGems dependencies for CVE-2024-7106?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wqw3-p83g-r24v",
"modified" : "2024-08-14T22:16:13Z",
"published" : "2024-07-25T21:31:20Z",
"aliases" : [ "CVE-2024-7106" ],
"summary" : "Cross-Site Request Forgery in Spina",
"details" : "A vulnerability classified as problematic was found in Spina CMS 2.18.0. Affected by this vulnerability is an unknown functionality of the file /admin/media_folders. The manipulation leads to cross-site request forgery. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-272431. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "spina"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.18.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-7106"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/SpinaCMS/Spina"
}, {
"type" : "WEB",
"url" : "https://github.com/topsky979/Security-Collections/blob/main/cve3/README.md"
}, {
"type" : "WEB",
"url" : "https://rubysec.com/advisories/CVE-2024-7106"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.272431"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.272431"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.376769"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-13T20:23:06Z",
"nvd_published_at" : "2024-07-25T21:15:12Z"
}
}