xmas-elf
Affected
- introduced
0.0.0-0, fixed0.10.0(semver)
Fixed versions
0.10.0
Fix
- Fixed version
0.10.0cargo update -p xmas-elf --precise 0.10.0
Advisory
Also known as: GHSA-9cc5-2pq7-hfj8
Potential out-of-bounds read with a malformed ELF file and the HashTable API.
Affected versions of this crate only validated the index argument ofHashTable::get_bucket and HashTable::get_chain against the input-controlledbucket_count and chain_count fields, but not against the size of the ELF
section. As a result, a malformed ELF file could trigger out-of-bounds reads in
a consumer of the HashTable API by setting these fields to inappropriately large
values that would fall outside the relevant hash table section, and by
introducing correspondingly out-of-bounds hash table indexes elsewhere in the ELF
file.
Not rated by the source.
0.0.0-0, fixed 0.10.0 (semver)0.10.0
0.10.0cargo update -p xmas-elf --precise 0.10.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0