Read the docs

Server-side request forgery in Perl Net::FTP via PASV replies

Priority LOW 23CWE-918Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply. The pasv method never compares that address with the control connection's peer, a server-side request forgery flaw (CWE-918). A malicious FTP server can make the client open TCP connections to arbitrary hosts and ports, including internal addresses reachable only from the client.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply. The pasv method uses the IP address from the server's 227 reply for the data connection and never compares it with the control connection's peer. A malicious FTP server can make the client open TCP connections to arbitrary hosts and ports, including internal addresses reachable only from the client.

Why it matters now

EPSS 0.00308 16th percentileScored 2026-11-30
Fix Fixed libnet: 3.17

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—libnetbefore 3.173.17Patch availableCNA
—perl5.7.3 – 5.45.5—No fix listedCNA
  • libnet Vendor— Affected before 3.17 Fixed in 3.17 Patch available CNA
  • perl Vendor— Affected 5.7.3 – 5.45.5 Fixed in — No fix listed CNA

Remediation

Update libnet to version 3.17, which fixes Net::FTP. The sources list no fixed version for perl.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA libnet Fixed in 3.17

Timeline

  1. 2026-11-29 Threatist record created from CVE-2026-40558
  2. 2026-11-30 Alias added: GHSA-gpfx-rpc3-h6c9

References

Sources