Skip to content

0.5.2

Choose a tag to compare

@zrbyte zrbyte released this 22 Nov 11:40
· 3 commits to main since this release

paper-firehose 0.5.2

Security

  • Feed responses are always read as data (#90). Since 0.5.1, a feed server could answer with a local file path, and the filter stage would open and parse that file. For example, /dev/zero would make the run use up memory, and the path of a feed file on disk would have its entries stored as if the server had sent them. The response is now always parsed as the feed itself. Local file:// feeds are unaffected.

Improvements

  • Feed downloads are limited in size. Responses larger than 20 MB (after decompression) are rejected, and the feed is listed under failed_feeds.
  • feed_timeout_seconds now limits the whole download, not only each read. A server that sends bytes slowly can no longer hold a feed open beyond the timeout.

Dependencies

  • urllib3==2.5.0 is now pinned directly (it was already installed through requests).