Skip to main content

Use of Uninitialized Resource in yauzl

Cx77c0fe72-ea38

  • yauzl
Severity Medium
Score 6.8/10

Summary

The package `yauzl` before version 2.9.2 uses the deprecated `new Buffer()` constructor, which can allocate uninitialized memory. This uninitialized memory may contain potentially sensitive data from previous processes that can end up being leaked if not handled properly. This issue is only relevant when using Node.js versions prior to 5.10.0, as safer alternatives like `Buffer.alloc()` and `Buffer.from()` were introduced starting from that version.

  • HIGH
  • NETWORK
  • NONE
  • CHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-908 - Use of Uninitialized Resource

The software uses or accesses a resource that has not been initialized.

Advisory Timeline

  • Published