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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub 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) | stretch (security), stretch | 1:5.30-1+deb9u3 | fixed |
| buster | 1:5.35-4+deb10u2 | fixed |
| buster (security) | 1:5.35-4+deb10u1 | fixed |
| bullseye | 1:5.39-3 | fixed |
| bookworm, sid | 1:5.41-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
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)