Vulnerabilities in pkg:gem/gollum

PACKAGE
Advisory Identifier: GHSA-m2q3-53fq-7h66
Advisory Summary

CVE-2015-7314 is a MODERATE gollum exposure of sensitive information vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Gollum libraries in the RubyGems ecosystem. The issue involves gollum exposure of sensitive information. Remediation is available by upgrading affected packages to version 4.0.1.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/gollum

3 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-m2q3-53fq-7h66 CVE-2015-7314 MODERATE Gollum Exposure of Sensitive Information
GHSA-q97v-764g-r2rp CVE-2014-9489 HIGH gollum and gollum-lib allow remote authenticated users to execute arbitrary code
GHSA-fj2w-qmjp-3rjm CVE-2020-35305 MODERATE Gollum Cross-site Scripting vulnerability via filename parameter to New Page dialog

CVE-2015-7314 at a Glance

CVE Identifier CVE-2015-7314
GHSA Identifier GHSA-m2q3-53fq-7h66
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Gollum
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2015-7314

To remediate this vulnerability, upgrade all affected Gollum dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

gollum fixed: 4.0.1
Upgrade gollum to 4.0.1
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 gollum

How to Check if You Are Affected

To determine whether your application is affected by CVE-2015-7314, inspect your project dependencies for Gollum:

inspect dependencies for gollum

Analyze the terminal output to locate any version of Gollum in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.1), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Gollum, 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 Precious module in gollum before 4.0.1 allows remote attackers to read arbitrary files by leveraging the lack of a certain temporary-file check.

CVE-2015-7314 Affected Gollum Versions

1 component(s)
Fixed Versions:
4.0.1
Product / Package Ecosystem Affected Versions Fixed Version
gollum
RubyGems
< 4.0.1
4.0.1

References

Frequently Asked Questions

What is CVE-2015-7314?
CVE-2015-7314 is a security vulnerability in Gollum involving Gollum Exposure of Sensitive Information under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Gollum versions are affected?
Affected versions include releases prior to 4.0.1 across affected packages: gollum.
What version fixes CVE-2015-7314?
Upgrading to 4.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is gollum affected?
Yes, gollum is affected in releases prior to 4.0.1. Upgrade your dependency to 4.0.1 or later.
What CWE is associated with CVE-2015-7314?
CVE-2015-7314 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check RubyGems dependencies for CVE-2015-7314?
Run the dependency tree command: 'inspect dependencies for gollum'. 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-m2q3-53fq-7h66",
  "modified" : "2023-03-14T20:41:45Z",
  "published" : "2018-08-28T22:33:51Z",
  "aliases" : [ "CVE-2015-7314" ],
  "summary" : "Gollum Exposure of Sensitive Information",
  "details" : "The Precious module in gollum before 4.0.1 allows remote attackers to read arbitrary files by leveraging the lack of a certain temporary-file check.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "gollum"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-7314"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/gollum/gollum/issues/1070"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/gollum/gollum/commit/ce68a88293ce3b18c261312392ad33a88bb69ea1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/gollum/gollum"
  }, {
    "type" : "WEB",
    "url" : "http://jvn.jp/en/jp/JVN27548431/index.html"
  }, {
    "type" : "WEB",
    "url" : "http://jvndb.jvn.jp/jvndb/JVNDB-2015-000149"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2015/09/22/12"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:44:36Z",
    "nvd_published_at" : null
  }
}