CVE-2021-31810
MEDIUM5.8EPSS 0.67%發布日:2021/7/13修改日:2025/12/3
也稱為:ALPINE-CVE-2021-31810
描述
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions).
受影響套件(5)
- Alpine/rubyfrom 0, < 2.6.8-r0
- Bitnami/rubyfrom 0, < 2.6.8, >= 2.7.0, < 2.7.4, >= 3.0.0, < 3.0.2
- Bitnami/ruby-minfrom 0, < 2.6.8, >= 2.7.0, < 2.7.4, >= 3.0.0, < 3.0.2
- Debian/jrubyfrom 0, < 9.3.9.0+ds-1
- Debian/ruby2.7from 0, < 2.7.4-1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
參考連結(11)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2021-31810
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-31810
- WEBhttps://hackerone.com/reports/1145454
- WEBhttps://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
- WEBhttps://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-31810
- WEBhttps://security.gentoo.org/glsa/202401-27
- WEBhttps://security.netapp.com/advisory/ntap-20210917-0001/
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.ruby-lang.org/en/news/2021/07/07/trusting-pasv-responses-in-net-ftp/