Skip to content

v0.5.4

Choose a tag to compare

@safishamsi safishamsi released this 28 Apr 14:06

What's new in v0.5.4

  • SSRF DNS rebinding fixsafe_fetch now patches socket.getaddrinfo for the entire duration of each HTTP request so a DNS rebinding attack cannot swap a public IP (returned during validation) for a private one during the actual connection. DNS lookup failures now also raise an error instead of silently skipping the IP check.
  • yt-dlp SSRF bypass fixdownload_audio now runs validate_url before handing the URL to yt-dlp, blocking private IPs and disallowed schemes on the video/audio ingest path.

Fixes #591, #592.