Intel

AIKIDO-2025-10188

xmas-elf is vulnerable to Out-of-bounds Read

Out-of-bounds ReadGHSA-9cc5-2pq7-hfj8 Published Mar 27, 2025

35

Low Risk

This Affects:

rustxmas-elf
0.1 - 0.9.1
Fixed in 0.10.0
Are you affected? Scan for Free

TL;DR

Affected versions of this crate improperly validate the index argument of HashTable::get_bucket and HashTable::get_chain, checking it only against the input-controlled bucket_count and chain_count fields but not against the actual size of the ELF section. Consequently, a malformed ELF file can trigger out-of-bounds reads in applications using the HashTable API by setting these fields to excessively large values that extend beyond the hash table section and introducing corresponding out-of-bounds indexes elsewhere in the ELF file.

Who does this affect?

You are affected if you are using a version which is within vulnerability ranges and using template::UriTemplateStr.

Background info

xmas-elf is vulnerable to Out-of-bounds Read in versions 0.1 - 0.9.1.

How to fix this

Upgrade the xmas-elf library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform