Nixpkgs security tracker

Login with GitHub

Suggestion detail

Untriaged
created 3 months, 4 weeks ago Activity log
  • Created suggestion
Quadratic complexity in node ID cache clearing

When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.

Affected products

CPython
  • <3.13.11
  • <3.15.0
  • <3.15.0a3
  • <3.14.2

Matching in nixpkgs

Package maintainers