CVE-2013-2512
ftpd Gem for Ruby Shell Character Handling Remote Command Injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | ftpd | 0.2.2 |
| rubygems::Ruby Advisory Database | ftpd | >= 0.2.2 |
References
- http://vapidlabs.com/advisory.php?v=34
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ftpd/CVE-2013-2512.yml
- https://github.com/wconrad/ftpd
- https://github.com/wconrad/ftpd/commit/828064f1a0ab69b2642c59cab8292a67bb44182c
- https://nvd.nist.gov/vuln/detail/CVE-2013-2512
- https://web.archive.org/web/20210206231123/http://vapidlabs.com/advisory.php?v=34