CVE-2006-2582: Rwiki Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-wwmf-6p58-6vj2
Published
Advisory Summary

CVE-2006-2582 is a HIGH remote code execution vulnerability (General Security Weakness) affecting Rwiki libraries in the RubyGems ecosystem. The issue involves remote code execution in rwiki. Remediation is available by upgrading affected packages to version 2.1.1.

CVE-2006-2582 at a Glance

CVE Identifier CVE-2006-2582
GHSA Identifier GHSA-wwmf-6p58-6vj2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Rwiki
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2006-2582

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

rwiki fixed: 2.1.1
Upgrade rwiki to 2.1.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 rwiki

How to Check if You Are Affected

To determine whether your application is affected by CVE-2006-2582, inspect your project dependencies for Rwiki:

inspect dependencies for rwiki

Analyze the terminal output to locate any version of Rwiki in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.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 General Security Weakness. In Rwiki, 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 editing form in RWiki 2.1.0pre1 through 2.1.0 allows remote attackers to execute arbitrary Ruby code via unknown attack vectors.

CVE-2006-2582 Affected Rwiki Versions

1 component(s)
Fixed Versions:
2.1.1
Product / Package Ecosystem Affected Versions Fixed Version
rwiki
RubyGems
≥ 2.1.0pre1
< 2.1.1
2.1.1

References

Frequently Asked Questions

What is CVE-2006-2582?
CVE-2006-2582 is a security vulnerability in Rwiki involving Remote code execution in rwiki under General Security Weakness.
Which Rwiki versions are affected?
Affected versions include releases prior to 2.1.1 across affected packages: rwiki.
What version fixes CVE-2006-2582?
Upgrading to 2.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rwiki affected?
Yes, rwiki is affected in releases prior to 2.1.1. Upgrade your dependency to 2.1.1 or later.
What CWE is associated with CVE-2006-2582?
CVE-2006-2582 is classified under General Security Weakness.
How can I check RubyGems dependencies for CVE-2006-2582?
Run the dependency tree command: 'inspect dependencies for rwiki'. 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-wwmf-6p58-6vj2",
  "modified" : "2025-04-03T14:25:17Z",
  "published" : "2017-10-24T18:33:38Z",
  "aliases" : [ "CVE-2006-2582" ],
  "summary" : "Remote code execution in rwiki",
  "details" : "The editing form in RWiki 2.1.0pre1 through 2.1.0 allows remote attackers to execute arbitrary Ruby code via unknown attack vectors.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "rwiki"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0pre1"
      }, {
        "fixed" : "2.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2006-2582"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/26668"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-wwmf-6p58-6vj2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rwiki/CVE-2006-2582.yml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20090501134922/http://www2a.biglobe.ne.jp/~seki/ruby/rwiki.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/20264"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2006/1949"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T22:01:28Z",
    "nvd_published_at" : "2006-05-25T10:02:00Z"
  }
}