CVE-2018-16745
published 2018-09-13CVE-2018-16745: An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if…
PriorityP434high7.8CVSS 3.0
AVLACLPRLUINSUCHIHAH
EPSS
0.45%
35.7th percentile
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | mgetty | < mgetty 1.2.1-1 (bookworm) | mgetty 1.2.1-1 (bookworm) |
| mgetty_project | mgetty | < 1.2.1 | 1.2.1 |
| mgetty_project | mgetty | >= 0 < 1.2.1-1 | 1.2.1-1 |
| mgetty_project | mgetty | >= 0 < 1.2.1-1 | 1.2.1-1 |
| mgetty_project | mgetty | >= 0 < 1.2.1-1 | 1.2.1-1 |
| mgetty_project | mgetty | >= 0 < 1.2.1-1 | 1.2.1-1 |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.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.
Red Hat
mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c
vendor_redhat·2018-09-13·CVSS 7.8
CVE-2018-16745 [HIGH] CWE-121 mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c
mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.
Mitigation: Make sure the `notify` option in /etc/mgetty+sendfax/mgetty.config does not contain more than 150 characters and that the file is readable and writable only by root.
Package: mgetty (Red Hat Enterprise Linux 5) - Will not fix
Package: mgetty (Red Hat Enterprise Linux 6) - Will not fix
Package: mgetty (Red Hat Enterprise Linux 7) - Fix deferred
Debian
CVE-2018-16745: mgetty - An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c...
vendor_debian·2018·CVSS 7.8
CVE-2018-16745 [HIGH] CVE-2018-16745: mgetty - An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c...
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.
Scope: local
bookworm: resolved (fixed in 1.2.1-1)
bullseye: resolved (fixed in 1.2.1-1)
forky: resolved (fixed in 1.2.1-1)
sid: resolved (fixed in 1.2.1-1)
trixie: resolved (fixed in 1.2.1-1)
GHSA
GHSA-p49w-34p5-fh3m: An issue was discovered in mgetty before 1
ghsa_unreviewed·2022-05-14
CVE-2018-16745 [HIGH] CWE-119 GHSA-p49w-34p5-fh3m: An issue was discovered in mgetty before 1
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.
OSV
CVE-2018-16745: An issue was discovered in mgetty before 1
osv·2018-09-13·CVSS 7.8
CVE-2018-16745 [HIGH] CVE-2018-16745: An issue was discovered in mgetty before 1
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16745 mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c
bugzilla·2018-09-17·CVSS 7.8
CVE-2018-16745 [HIGH] CVE-2018-16745 mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c
CVE-2018-16745 mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c
An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.
References:
https://www.x41-dsec.de/lab/advisories/x41-2018-007-mgetty
Discussion:
Created mgetty tracking bugs for this issue:
Affects: fedora-all [bug 1629980]
---
Mitigation:
Make sure the `notify` option in /etc/mgetty+sendfax/mgetty.config does not contain more than 150 characters and that the file is readable and writable only by root.
---
Only root can write to /etc/mgetty+sendfax/mgetty.config and set the `notify` option which `mail_to` is set to when the program runs. Thus, this flaw is very unlike
Bugzilla
CVE-2018-16745 mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c [fedora-all]
bugzilla·2018-09-17·CVSS 7.8
CVE-2018-16745 [HIGH] CVE-2018-16745 mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.c [fedora-all]
CVE-2018-16745 mgetty: Stack-based buffer overflow in fax_notify_mail() in faxrec.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
2018-09-13
Published