Vulnerabilities in pkg:gem/show_in_browser

PACKAGE
Advisory Identifier: GHSA-9hx9-w2j6-rw76
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/show_in_browser

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/show_in_browser. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9hx9-w2j6-rw76 CVE-2013-2105 MODERATE Script Injection in Show In Browser gem

CVE-2013-2105 at a Glance

CVE Identifier CVE-2013-2105
GHSA Identifier GHSA-9hx9-w2j6-rw76
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected Product Show in browser
Package Ecosystem RubyGems
Published Date
Last Updated

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.

show_in_browser fixed: Latest secure release
Upgrade show_in_browser to Latest secure release
Verify Direct and Transitive Dependencies

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

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`.

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?
CVE-2013-2105 is a security vulnerability in Show in browser involving Script Injection in Show In Browser gem under CWE-59: Improper Link Resolution Before File Access ('Link Following').
Which Show in browser versions are affected?
Affected versions include releases prior to current release patches across affected packages: show_in_browser.
What version fixes CVE-2013-2105?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is show_in_browser affected?
Yes, show_in_browser is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2013-2105?
CVE-2013-2105 is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following') (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.).
How can I check RubyGems dependencies for CVE-2013-2105?
Run the dependency tree command: 'inspect dependencies for show_in_browser'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}