pyelftools@0.28 vulnerabilities

Library for analyzing ELF files and DWARF debugging information

Direct Vulnerabilities

Known vulnerabilities in the pyelftools package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Denial of Service (DoS)

pyelftools is a Library for analyzing ELF files and DWARF debugging information

Affected versions of this package are vulnerable to Denial of Service (DoS). This can occur when parsing an ELF file whose e_shentsize is zero, and e_shnum is larger than the actual number of entries in the section header table. The function ELFFile.iter_sections iterates over i in range(self['e_shnum']) and yields sections at file offset self['e_shoff'] + i * self['e_shentsize']. If e_shentsize is zero this will return the first section over and over again.

How to fix Denial of Service (DoS)?

There is no fixed version for pyelftools.

[0,)