Name | CVE-2019-8904 |
Description | do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 922967 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
file (PTS) | jessie, jessie (lts) | 1:5.22+15-2+deb8u7 | fixed |
| stretch (security), stretch (lts), stretch | 1:5.30-1+deb9u3 | fixed |
| buster | 1:5.35-4+deb10u2 | fixed |
| buster (security), buster (lts) | 1:5.35-4+deb10u1 | fixed |
| bullseye (security), bullseye | 1:5.39-3+deb11u1 | fixed |
| bookworm | 1:5.44-3 | fixed |
| sid, trixie | 1:5.45-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
file | source | wheezy | (not affected) | | | |
file | source | jessie | (not affected) | | | |
file | source | stretch | (not affected) | | | |
file | source | (unstable) | 1:5.35-3 | | | 922967 |
Notes
[stretch] - file <not-affected> (vulnerable code introduced later)
[jessie] - file <not-affected> (vulnerable code introduced later)
https://bugs.astron.com/view.php?id=62
Introduced by: https://github.com/file/file/commit/76c55eae2f9b0b378332762f6dce544d05eb24d7 (FILE5_34)
Fixed by: https://github.com/file/file/commit/94b7501f48e134e77716e7ebefc73d6bbe72ba55 (FILE5_36)
[wheezy] - file <not-affected> (vulnerable code is not present)