Skip to content

0.5.3

Latest

Choose a tag to compare

@zrbyte zrbyte released this 22 Nov 12:34
· 2 commits to main since this release

paper-firehose 0.5.3

Security

  • Compressed feed responses can no longer use up memory (#91). 0.5.2 pinned urllib3==2.5.0, which is older than what fresh installs had before. With that version, a feed response compressed twice (Content-Encoding: gzip, gzip) was fully decompressed in memory before the 20 MB size limit was checked. A few kB on the wire could grow to gigabytes and stop the filter stage. The pin is now urllib3==2.8.0, which decompresses only as much as is read at a time, so the size limit applies again.
  • Chained Content-Encoding is refused. Feed responses that list more than one encoding are rejected and reported under failed_feeds, whatever the urllib3 version. No feed needs more than one.

Dependencies

  • urllib3 pin raised from 2.5.0 to 2.8.0.

Upgrading

  • If you installed 0.5.2, upgrading moves urllib3 forward again: pip install -U paper-firehose.