CVE-2019-8904
published 2019-02-18CVE-2019-8904: 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.
PriorityP340high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
2.49%
82.8th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | file | < file 1:5.35-3 (bookworm) | file 1:5.35-3 (bookworm) |
| file_project | file | — | — |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
file vulnerabilities
vendor_ubuntu·2019-03-18
CVE-2019-8904 file vulnerabilities
Title: file vulnerabilities
Summary: Several security issues were fixed in file.
It was discovered that file incorrectly handled certain malformed ELF
files. An attacker could use this issue to cause a denial of service, or
possibly execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
file: stack-based buffer over-read in do_bid_note in readelf.c
vendor_redhat·2019-02-18·CVSS 8.8
CVE-2019-8904 [HIGH] CWE-125 file: stack-based buffer over-read in do_bid_note in readelf.c
file: stack-based buffer over-read in do_bid_note in readelf.c
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.
Package: file (Red Hat Enterprise Linux 5) - Not affected
Package: php53 (Red Hat Enterprise Linux 5) - Not affected
Package: file (Red Hat Enterprise Linux 6) - Not affected
Package: php (Red Hat Enterprise Linux 6) - Not affected
Package: file (Red Hat Enterprise Linux 7) - Not affected
Package: php (Red Hat Enterprise Linux 7) - Not affected
Package: file (Red Hat Enterprise Linux 8) - Not affected
Package: rh-php72-php (Red Hat Software Collections) - Not affected
Package: rh-php73-php (Red Hat Software Collections) - Not affected
Debian
CVE-2019-8904: file - do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer ove...
vendor_debian·2019·CVSS 8.8
CVE-2019-8904 [HIGH] CVE-2019-8904: file - do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer ove...
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.
Scope: local
bookworm: resolved (fixed in 1:5.35-3)
bullseye: resolved (fixed in 1:5.35-3)
forky: resolved (fixed in 1:5.35-3)
sid: resolved (fixed in 1:5.35-3)
trixie: resolved (fixed in 1:5.35-3)
GHSA
GHSA-4h69-pc3c-cm6j: do_bid_note in readelf
ghsa_unreviewed·2022-05-14
CVE-2019-8904 [HIGH] CWE-125 GHSA-4h69-pc3c-cm6j: do_bid_note in readelf
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.
OSV
CVE-2019-8904: do_bid_note in readelf
osv·2019-02-18·CVSS 8.8
CVE-2019-8904 [HIGH] CVE-2019-8904: do_bid_note in readelf
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-8904 file: stack-based buffer over-read in do_bid_note in readelf.c
bugzilla·2019-02-20·CVSS 8.8
CVE-2019-8904 [HIGH] CVE-2019-8904 file: stack-based buffer over-read in do_bid_note in readelf.c
CVE-2019-8904 file: stack-based buffer over-read in do_bid_note in readelf.c
do_bid_note in readelf.c in libmagic in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.
Upstream patch:
https://github.com/file/file/commit/94b7501f48e134e77716e7ebefc73d6bbe72ba55
References:
https://bugs.astron.com/view.php?id=62
Discussion:
Created file tracking bugs for this issue:
Affects: fedora-all [bug 1679189]
---
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):
https://access.redhat.com/security/cve/cve-2019-8904
Bugzilla
CVE-2019-8904 file: stack-based buffer over-read in do_bid_note in readelf.c [fedora-all]
bugzilla·2019-02-20·CVSS 8.8
CVE-2019-8904 [HIGH] CVE-2019-8904 file: stack-based buffer over-read in do_bid_note in readelf.c [fedora-all]
CVE-2019-8904 file: stack-based buffer over-read in do_bid_note in readelf.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppor
2019-02-18
Published