{"id":"CVE-2012-6135","aliases":["EUVD-2022-1680","GHSA-8mw8-j583-vqfg"],"status":"published","title":"RubyGems passenger gem allows remote attackers to delete files","description":"RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02308,"percentile":0.83486,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2019-11-19T16:56:41Z","modified":"2026-06-16T23:47:53Z","fixes":[{"ecosystem":"RubyGems","package":"passenger","fixed_in":["4.0.0.rc4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"passenger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0.rc4"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"passenger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0.rc4"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.2","2.1.3","2.2.0","2.2.1","2.2.10","2.2.11","2.2.12","2.2.13","2.2.14","2.2.15","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","3.0.0","3.0.0.pre1","3.0.0.pre2","3.0.0.pre3","3.0.0.pre4","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.17","3.0.18","3.0.19","3.0.2","3.0.21","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.9.1.beta","3.9.2.beta"]}],"products":[{"vendor":"phusion","product":"passenger"},{"vendor":"redhat","product":"openshift"},{"vendor":"ruby-passenger","product":"ruby-passenger"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2012-6135","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/03/02/1","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/82533","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-6135","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://www.securityfocus.com/bid/58259","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6135","tags":["advisory"]},{"url":"https://github.com/phusion/passenger/commit/8c6693e0818772c345c979840d28312c2edd4ba4","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2012-6135.yml","tags":["web"]},{"url":"https://github.com/phusion/passenger/commit/8c6693e0818772c345c979840d28312c2edd4ba4#commitcomment-2643541","tags":["web"]},{"url":"https://web.archive.org/web/20200918164919/https://old.blog.phusion.nl/2013/03/05/phusion-passenger-4-0-beta-1-and-2-arbitrary-file-deletion-vulnerability/"},{"url":"https://github.com/advisories/GHSA-8mw8-j583-vqfg"},{"url":"https://github.com/phusion/passenger","tags":["package"]},{"url":"https://web.archive.org/web/20200918164919/https://old.blog.phusion.nl/2013/03/05/phusion-passenger-4-0-beta-1-and-2-arbitrary-file-deletion-vulnerability","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-6135","description":"RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.","status":"published","published":"2019-11-19T16:56:41Z","modified":"2024-08-06T21:28:38.905Z","updated_at":"2026-11-02T14:34:51.269982Z"}],"euvd":[{"id":"EUVD-2022-1680","description":"RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.","status":"published","published":"2019-11-19T16:56:41Z","modified":"2024-08-06T21:28:38Z","updated_at":"2026-11-03T01:56:02.968969Z"}],"ghsa":[{"id":"GHSA-8mw8-j583-vqfg","title":"RubyGems passenger gem allows remote attackers to delete files","description":"RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process. \n\nAffects both open source and Enterprise versions (4.0.0.beta1, 4.0.0.beta2).","status":"published","published":"2022-04-23T00:40:14Z","modified":"2023-07-05T19:44:05Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:55.91458Z"}],"nvd":[{"id":"CVE-2012-6135","description":"RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.","status":"published","published":"2019-11-19T17:15:11.237Z","modified":"2026-06-16T23:47:53.297Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:18.043773Z"}],"osv":[{"id":"GHSA-8mw8-j583-vqfg","title":"RubyGems passenger gem allows remote attackers to delete files","description":"RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process. \n\nAffects both open source and Enterprise versions (4.0.0.beta1, 4.0.0.beta2).","status":"published","published":"2022-04-23T00:40:14Z","modified":"2024-02-22T05:34:23.73872Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:42.437513Z"}]}}
