critical9.8
CVE-2013-2512
OS Command Injection in ftpd
Impact
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 | Fixed in |
|---|---|---|---|
| rubygems | ftpd | < 0.2.2 | 0.2.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ftpd Project | Ftpd | Version 0.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://vapidlabs.com/advisory.php?v=34
- https://github.com/advisories/GHSA-7vxr-6cxg-j3x8
- https://nvd.nist.gov/vuln/detail/CVE-2013-2512
- https://github.com/wconrad/ftpd/commit/828064f1a0ab69b2642c59cab8292a67bb44182c
- https://web.archive.org/web/20210206231123/http://vapidlabs.com/advisory.php?v=34
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ftpd/CVE-2013-2512.yml