Skip to content

pywb 2.11.1

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 02:24
· 14 commits to main since this release

Security release

pywb 2.11.1 fixes a critical remote code execution vulnerability (#1074). All users should upgrade immediately.

pywb parsed AMF (Flash remoting) requests with py3AMF, which could be made to instantiate arbitrary Python classes leading to remote code execution. Any client able to send a POST or PUT request with Content-Type containing application/x-amf to a pywb instance could trigger this. Indexing a WARC file containing a crafted AMF request or response is also affected.

Affected versions: pywb 0.32.0 through 2.11.0
Fixed in: pywb 2.11.1

Workarounds: If you cannot upgrade immediately, reject requests with Content-Type beginning with application/x-amf at your reverse proxy (example) until you upgrade. This does not protect live mode or against indexing WARC files containing malicious HTTP responses, upgrading is still essential. If you're stuck on an old version of pywb or a fork due to local modifications, follow these instructions to disable AMF rewriting.

Reporter: ANJALI-SAVANT

What's Changed

  • Replace py3AMF with a data-only AMF decoder by @ato in #1082

Full Changelog: v-2.11.0...v-2.11.1