{"id":"CVE-2013-2512","aliases":["EUVD-2021-2174","GHSA-7vxr-6cxg-j3x8"],"status":"published","title":"OS Command Injection in ftpd","description":"The ftpd gem 0.2.1 for Ruby allows remote attackers to execute arbitrary OS commands via shell metacharacters in a LIST or NLST command argument within FTP protocol traffic.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.03587,"percentile":0.89517,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2021-01-26T22:56:13Z","modified":"2026-06-16T23:53:35Z","fixes":[{"ecosystem":"RubyGems","package":"ftpd","fixed_in":["0.2.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"ftpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.2"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"ftpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.2"}]}],"versions":["0.0.0.pre1","0.0.0.pre2","0.0.1.pre","0.1.0","0.1.1","0.2.0","0.2.1"]}],"products":[{"vendor":"ftpd_project","product":"ftpd"}],"references":[{"url":"http://vapidlabs.com/advisory.php?v=34","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2512","tags":["advisory"]},{"url":"https://github.com/wconrad/ftpd/commit/828064f1a0ab69b2642c59cab8292a67bb44182c","tags":["web"]},{"url":"https://web.archive.org/web/20210206231123/http://vapidlabs.com/advisory.php?v=34","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ftpd/CVE-2013-2512.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7vxr-6cxg-j3x8"},{"url":"https://github.com/wconrad/ftpd","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-2512","description":"The ftpd gem 0.2.1 for Ruby allows remote attackers to execute arbitrary OS commands via shell metacharacters in a LIST or NLST command argument within FTP protocol traffic.","status":"published","published":"2021-01-26T22:56:13Z","modified":"2024-08-06T15:44:31.994Z","updated_at":"2026-11-02T14:34:55.825574Z"}],"euvd":[{"id":"EUVD-2021-2174","description":"The ftpd gem 0.2.1 for Ruby allows remote attackers to execute arbitrary OS commands via shell metacharacters in a LIST or NLST command argument within FTP protocol traffic.","status":"published","published":"2021-01-26T22:56:13Z","modified":"2024-08-06T15:44:31Z","updated_at":"2026-11-03T01:56:38.194266Z"}],"ghsa":[{"id":"GHSA-7vxr-6cxg-j3x8","title":"OS Command Injection in ftpd","description":"The ftpd gem 0.2.1 for Ruby allows remote attackers to execute arbitrary OS commands via shell metacharacters in a LIST or NLST command argument within FTP protocol traffic.","status":"published","published":"2021-10-12T22:33:59Z","modified":"2023-08-29T12:18:16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:37:01.345964Z"}],"nvd":[{"id":"CVE-2013-2512","description":"The ftpd gem 0.2.1 for Ruby allows remote attackers to execute arbitrary OS commands via shell metacharacters in a LIST or NLST command argument within FTP protocol traffic.","status":"published","published":"2021-01-26T23:15:12.53Z","modified":"2026-06-16T23:53:35.9Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:02:52.934105Z"}],"osv":[{"id":"GHSA-7vxr-6cxg-j3x8","title":"OS Command Injection in ftpd","description":"The ftpd gem 0.2.1 for Ruby allows remote attackers to execute arbitrary OS commands via shell metacharacters in a LIST or NLST command argument within FTP protocol traffic.","status":"published","published":"2021-10-12T22:33:59Z","modified":"2024-02-16T07:57:21.323447Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:41.349637Z"}]}}
