Nixpkgs security tracker

Login with GitHub

Suggestion detail

Untriaged
updated 1 month, 2 weeks ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored package haskellPackages.cpython
Base64 decoding stops at first padded quad by default

When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other implementations. Use "validate=True" to enable stricter processing of base64 data.

Affected products

CPython
  • <3.15.0a8
  • <3.13.13
  • <3.14.4
Ignored packages (1)