Vulnerability Description
The convert_to_decimal function in vasnprintf.c in Gnulib before 2018-09-23 has a heap-based buffer overflow because memory is not allocated for a trailing '\0' character during %f processing.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Gnulib | < 2018-09-23 |
Related Weaknesses (CWE)
References
- https://github.com/coreutils/gnulib/commit/278b4175c9d7dd47c1a3071554aac02add3b3PatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.htmlExploitMailing ListVendor Advisory
- https://savannah.gnu.org/bugs/?func=detailitem&item_id=54686ExploitVendor Advisory
- https://github.com/coreutils/gnulib/commit/278b4175c9d7dd47c1a3071554aac02add3b3PatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.htmlExploitMailing ListVendor Advisory
- https://savannah.gnu.org/bugs/?func=detailitem&item_id=54686ExploitVendor Advisory
FAQ
What is CVE-2018-17942?
CVE-2018-17942 is a vulnerability with a CVSS score of 8.8 (HIGH). The convert_to_decimal function in vasnprintf.c in Gnulib before 2018-09-23 has a heap-based buffer overflow because memory is not allocated for a trailing '\0' character during %f processing.
How severe is CVE-2018-17942?
CVE-2018-17942 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-17942?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Gnulib.