Nixpkgs security tracker

Login with GitHub

Suggestion detail

Untriaged
created 2 months, 1 week ago Activity log
  • Created suggestion
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling

The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.

Affected products

CPython
  • <3.15.0

Matching in nixpkgs

Package maintainers