GitHub Advisory Database
GHSA-7vxr-6cxg-j3x8
OS Command Injection in ftpd
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | ftpd | All versions before 0.2.2 (fixed in 0.2.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-2512
- https://github.com/wconrad/ftpd/commit/828064f1a0ab69b2642c59cab8292a67bb44182c
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ftpd/CVE-2013-2512.yml
- https://github.com/wconrad/ftpd
- https://web.archive.org/web/20210206231123/http://vapidlabs.com/advisory.php?v=34