{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*", "cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*"], "vendor": "ruby-lang", "product": "ruby", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.9.0"}, {"status": "affected", "version": "1.8.5"}, {"status": "affected", "version": "1.8.6"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://secunia.com/advisories/29794", "tags": ["vendor-advisory"]}, {"url": "http://aluigi.altervista.org/adv/webrickcgi-adv.txt"}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html"}, {"url": "http://secunia.com/advisories/30831"}, {"url": "http://secunia.com/advisories/31687"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:140"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:141"}, {"url": "http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/"}, {"url": "http://www.vupen.com/english/advisories/2008/1245/references"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/41824"}, {"url": "https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html"}], "descriptions": [{"lang": "en", "value": "Directory traversal vulnerability in WEBrick in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2, when using NTFS or FAT filesystems, allows remote attackers to read arbitrary CGI files via a trailing (1) + (plus), (2) %2b (encoded plus), (3) . (dot), (4) %2e (encoded dot), or (5) %20 (encoded space) character in the URI, possibly related to the WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new functionality and the :DocumentRoot option."}, {"lang": "es", "value": "Una vulnerabilidad de salto de directorio en WEBrick en Ruby versión 1.8.4 y anteriores, versión 1.8.5 anterior a 1.8.5-p231, versión 1.8.6 anterior a 1.8.6-p230, versión 1.8.7 anterior a 1.8.7-p22, y versión 1.9.0 anterior a 1.9.0-2, cuando se utilizan sistemas de archivos NTFS o FAT, permite a los atacantes remotos leer archivos CGI arbitrarios por medio de un trailing (1) + (más), (2) %2b (más codificado), (3) . (punto), (4) %2e (punto codificado) o (5) %20 (espacio codificado) en el URI, posiblemente relacionado con la función WEBrick::HTTPServlet::FileHandler y WEBrick::HTTPServer.new y la opción :DocumentRoot."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-22", "description": "CWE-22"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2008-04-18T22:05:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2008-1891", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2008-04-18T22:05:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}