CVE-2021-31810
Advisory lineage Upstream: 0 Downstream: 33
Modified
Published: 13 Jul 2021, 00:00
Last modified:03 Aug 2024, 23:10
Vulnerability Summary
Overall Risk (default)
medium
33/100 CVSS Score
5.8 MEDIUM
v3.1 (nvd)
EPSS Score
0.67% LOW
1% probability +0.09%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
13 Jul 2021, 00:00
Published
Vulnerability first disclosed
03 Aug 2024, 23:10
Last Modified
Vulnerability information updated
Description
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).
CVSS Metrics
- v3.1•MEDIUM•Score: 5.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.67%• Percentile: 72%
Affected Systems
- debian•debian_linux
9.0
- oracle•jd_edwards_enterpriseone_tools
< 9.2.6.1
- ruby-lang•ruby
≤ 2.6.7 | ≥ 2.7.0, ≤ 2.7.3 | ≥ 3.0.0, ≤ 3.0.1
References (8)
- https://hackerone.com/reports/1145454
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/
- https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.ruby-lang.org/en/news/2021/07/07/trusting-pasv-responses-in-net-ftp/
- https://security.netapp.com/advisory/ntap-20210917-0001/
- https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
- https://security.gentoo.org/glsa/202401-27