CVE-2013-2105: Show in browser Script Injection Vulnerability
MODERATECVE-2013-2105 is a MODERATE script injection vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Show in browser libraries in the RubyGems ecosystem. The issue involves script injection in show in browser gem. Remediation is available in the latest vendor maintenance releases.
CVE-2013-2105 at a Glance
How to Fix CVE-2013-2105
To remediate this vulnerability, upgrade all affected Show in browser 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 show_in_browser 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 show_in_browser
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-2105, inspect your project dependencies for Show in browser:
inspect dependencies for show_in_browser
Analyze the terminal output to locate any version of Show in browser 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-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Show in browser, 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-2013-2105 Affected Show in browser Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
show_in_browser
|
RubyGems |
0.0.3
All 1 versions
0.0.3
|
None specified
|
References
Frequently Asked Questions
What is CVE-2013-2105?
Which Show in browser versions are affected?
What version fixes CVE-2013-2105?
Is show_in_browser affected?
What CWE is associated with CVE-2013-2105?
How can I check RubyGems dependencies for CVE-2013-2105?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9hx9-w2j6-rw76",
"modified" : "2025-04-13T23:26:43Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-2105" ],
"summary" : "Script Injection in Show In Browser gem",
"details" : "The Show In Browser (show_in_browser) gem 0.0.3 for Ruby allows local users to inject arbitrary web script or HTML via a symlink attack on `/tmp/browser.html`.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "show_in_browser"
},
"versions" : [ "0.0.3" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2105"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/84378"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jonleung/show_in_browser"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/show_in_browser/CVE-2013-2105.yml"
}, {
"type" : "WEB",
"url" : "http://vapid.dhs.org/advisories/show_in_browser.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/05/18/4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:28:50Z",
"nvd_published_at" : "2014-04-22T14:23:33Z"
}
}