Description
dwarf_elf_load_headers.c in libdwarf before 2019-07-05 allows attackers to cause a denial of service (division by zero) via an ELF file with a zero-size section group (SHT_GROUP), as demonstrated by dwarfdump.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libdwarf | 0.6.0-r0 | — |
| Alpine v3.23 | libdwarf | 0.6.0-r0 | — |
| Alpine v3.22 | libdwarf | 0.6.0-r0 | — |
| Alpine v3.21 | libdwarf | 0.6.0-r0 | — |
| Alpine v3.20 | libdwarf | 0.6.0-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libdwarf | 0.6.0-r0 | — |
| Alpine v3.18 | libdwarf | 0.6.0-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libdwarf | 0.9.0-1 | — |
| Azure Linux 2 (CBL-Mariner) | libdwarf | 0.9.0 | — |