Skip to main content

Integer Overflow or Wraparound

CVE-2023-45853

Severity High
Score 9.8/10

Summary

MiniZip in zlib has an integer overflow and resultant heap-based buffer overflow in 'zipOpenNewFileInZip4_64' via a long 'filename', 'comment', or 'extra field'. NOTE: MiniZip is not a supported part of the zlib product. This vulnerability affects zlib versions prior to 1.3.1. NOTE: The package pyminizip versions through 0.2.6 are also vulnerable because it bundles an affected zlib version, and exposes the applicable MiniZip code through its compress API.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-190 - Integer Overflow or Wraparound

The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.

Advisory Timeline

  • Published