CVE-2013-2512
CRITICAL 9.8CVSS 3.1OS Command Injection in ftpd
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.
- Published
- 26 Jan 2021
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-7vxr-6cxg-j3x8
- Sources
- NVDJSONOSV GHSA-7vxr-6cxg-j3x8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ftpd_project | ftpdcpe:2.3:a:ftpd_project:ftpd:0.2.1:*:*:*:*:ruby:*:* |
= 0.2.1 | |
| OSV | RubyGems | ftpd | < 0.2.2 | 0.2.2 |
References
- http://vapidlabs.com/advisory.php?v=34 · Exploit, Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2013-2512 · ADVISORY
- https://github.com/wconrad/ftpd/commit/828064f1a0ab69b2642c59cab8292a67bb44182c · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ftpd/CVE-2013-2512.yml · WEB
- https://github.com/wconrad/ftpd · PACKAGE
- https://web.archive.org/web/20210206231123/http://vapidlabs.com/advisory.php?v=34 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Oct 2021)