CVE-2014-5003: Ciborg Ciborg Gem For Ruby Allows Vulnerability
MODERATECVE-2014-5003 is a MODERATE (CVSS 5.5) ciborg gem for ruby allows vulnerability (CWE-20: Improper Input Validation) affecting Ciborg libraries in the RubyGems ecosystem. The issue involves ciborg gem for ruby allows local users to write files and gain privileges via symlink. Remediation is available in the latest vendor maintenance releases.
CVE-2014-5003 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2014-5003
To remediate this vulnerability, upgrade all affected Ciborg 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 ciborg 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 ciborg
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-5003, inspect your project dependencies for Ciborg:
inspect dependencies for ciborg
Analyze the terminal output to locate any version of Ciborg 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Ciborg, 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-2014-5003 Affected Ciborg Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ciborg
|
RubyGems |
3.0.0
All 1 versions
3.0.0
|
None specified
|
References
Frequently Asked Questions
What is CVE-2014-5003?
Which Ciborg versions are affected?
What version fixes CVE-2014-5003?
Is ciborg affected?
What is the CVSS score of CVE-2014-5003?
What CWE is associated with CVE-2014-5003?
How can I check RubyGems dependencies for CVE-2014-5003?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g982-9r8g-6qxw",
"modified" : "2023-07-05T17:57:47Z",
"published" : "2018-07-23T19:50:15Z",
"aliases" : [ "CVE-2014-5003" ],
"summary" : "Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink",
"details" : "There is a /tmp file race condition in `chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb` in the ciborg gem 3.0.0 when creating `/tmp/perlbrew-installer`. If a malicious local user creates the file first they can overwrite the contents with their own code executing it as the ciborg process owner.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "ciborg"
},
"versions" : [ "3.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-5003"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-g982-9r8g-6qxw"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ciborg/CVE-2014-5003.yml"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/07/07/24"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/07/17/5"
}, {
"type" : "WEB",
"url" : "http://www.vapid.dhs.org/advisories/ciborg-3.0.0.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:36:44Z",
"nvd_published_at" : "2018-01-10T18:29:00Z"
}
}