CVE-2014-4994: Gyazo Gyazo Allows Local Users To Vulnerability
MODERATECVE-2014-4994 is a MODERATE (CVSS 5.5) gyazo allows local users to vulnerability (CWE-20: Improper Input Validation) affecting Gyazo libraries in the RubyGems ecosystem. The issue involves gyazo allows local users to write arbitrary files. Remediation is available by upgrading affected packages to version 2.0.0.
CVE-2014-4994 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-4994
To remediate this vulnerability, upgrade all affected Gyazo 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 gyazo to 2.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for gyazo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-4994, inspect your project dependencies for Gyazo:
inspect dependencies for gyazo
Analyze the terminal output to locate any version of Gyazo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0), 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 Gyazo, 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-4994 Affected Gyazo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gyazo
|
RubyGems |
≥ 1.0.0
< 2.0.0
All 1 versions
1.0.0
|
2.0.0
|
References
Frequently Asked Questions
What is CVE-2014-4994?
Which Gyazo versions are affected?
What version fixes CVE-2014-4994?
Is gyazo affected?
What is the CVSS score of CVE-2014-4994?
What CWE is associated with CVE-2014-4994?
How can I check RubyGems dependencies for CVE-2014-4994?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6x45-86q6-rcmr",
"modified" : "2023-07-31T20:50:46Z",
"published" : "2018-01-22T23:17:39Z",
"aliases" : [ "CVE-2014-4994" ],
"summary" : "Gyazo allows local users to write arbitrary files",
"details" : "`lib/gyazo/client.rb` in the gyazo gem 1.0.0 for Ruby allows local users to write to arbitrary files via a symlink attack on a temporary file, related to time-based filenames.",
"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" : "gyazo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "2.0.0"
} ]
} ],
"versions" : [ "1.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-4994"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gyazo/gyazo-ruby"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/gyazo/CVE-2014-4994.yml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229061943/http://www.vapid.dhs.org/advisories/gyazo-1.0.0.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/07/07/13"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/07/17/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:20:27Z",
"nvd_published_at" : "2018-01-10T18:29:00Z"
}
}