GitHub Advisoryadvisory · RubyGems
GHSA-7vxr-6cxg-j3x8 OS Command Injection in ftpd
CRITICAL
Official page ↗
- Aliases
- CVE-2013-2512
- Ecosystem
- RubyGems
- Packages
- ftpd
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2021-10-07
Affected packages
• RubyGems ftpd: < 0.2.2 → fixed in 0.2.2
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.
Related
Alias · CVE (1)
- CVE-2013-2512 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… vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- 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