Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade xmas-elf
to version 0.10.0 or higher.
xmas-elf is a library for parsing and navigating ELF data; zero-allocation, type-safe.
Affected versions of this package are vulnerable to Out-of-bounds Read due to improper validation of the index
argument against the bucket_count
and chain_count
fields in the context of the ELF section size. An attacker can trigger out-of-bounds reads by manipulating these fields to exceed the bounds of the hash table section, coupled with out-of-bounds hash table indexes in the ELF file.