CVE-2017-16879
published 2017-11-22CVE-2017-16879: Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application…
PriorityP432high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
2.38%
82.0th percentile
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ncurses | < ncurses 6.0+20171125-1 (bookworm) | ncurses 6.0+20171125-1 (bookworm) |
| gnu | ncurses | — | — |
| gnu | ncurses | >= 0 < 6.0+20171125-1 | 6.0+20171125-1 |
| gnu | ncurses | >= 0 < 6.0+20171125-1 | 6.0+20171125-1 |
| gnu | ncurses | >= 0 < 6.0+20171125-1 | 6.0+20171125-1 |
| gnu | ncurses | >= 0 < 6.0+20171125-1 | 6.0+20171125-1 |
| gnu | ncurses | >= 0 < 5.9+20140118-1ubuntu1+esm2 | 5.9+20140118-1ubuntu1+esm2 |
| gnu | ncurses | >= 0 < 6.0+20160213-1ubuntu1+esm2 | 6.0+20160213-1ubuntu1+esm2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/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
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.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
ncurses vulnerabilities
vendor_ubuntu·2022-06-14·CVSS 7.8
CVE-2017-16879 [HIGH] ncurses vulnerabilities
Title: ncurses vulnerabilities
Summary: Several security issues were fixed in ncurses.
Hosein Askari discovered that ncurses was incorrectly performing
memory management operations when dealing with long filenames while
writing structures into the file system. An attacker could possibly
use this issue to cause a denial of service or execute arbitrary
code. (CVE-2017-16879)
Chung-Yi Lin discovered that ncurses was incorrectly handling access
to invalid memory areas when parsing terminfo or termcap entries where
the use-name had invalid syntax. An attacker could possibly use this
issue to cause a denial of service. (CVE-2018-19211)
It was discovered that ncurses was incorrectly performing bounds
checks when processing invalid hashcodes. An attacker could possibly
use this issue to cause
Red Hat
ncurses: Stack-based buffer overflow in the _nc_write_entry function
vendor_redhat·2017-11-18·CVSS 7.8
CVE-2017-16879 [HIGH] CWE-121 ncurses: Stack-based buffer overflow in the _nc_write_entry function
ncurses: Stack-based buffer overflow in the _nc_write_entry function
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.
Statement: Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: ncurses (Red Hat Enterprise Linux 5) - Will not fix
Package: ncurses (Red Hat Enterprise Linux 6) - Will not fix
Package: ncurses (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-16879: ncurses - Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry...
vendor_debian·2017·CVSS 7.8
CVE-2017-16879 [HIGH] CVE-2017-16879: ncurses - Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry...
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.
Scope: local
bookworm: resolved (fixed in 6.0+20171125-1)
bullseye: resolved (fixed in 6.0+20171125-1)
forky: resolved (fixed in 6.0+20171125-1)
sid: resolved (fixed in 6.0+20171125-1)
trixie: resolved (fixed in 6.0+20171125-1)
OSV
ncurses vulnerabilities
osv·2022-06-14·CVSS 7.8
CVE-2017-16879 [HIGH] ncurses vulnerabilities
ncurses vulnerabilities
Hosein Askari discovered that ncurses was incorrectly performing
memory management operations when dealing with long filenames while
writing structures into the file system. An attacker could possibly
use this issue to cause a denial of service or execute arbitrary
code. (CVE-2017-16879)
Chung-Yi Lin discovered that ncurses was incorrectly handling access
to invalid memory areas when parsing terminfo or termcap entries where
the use-name had invalid syntax. An attacker could possibly use this
issue to cause a denial of service. (CVE-2018-19211)
It was discovered that ncurses was incorrectly performing bounds
checks when processing invalid hashcodes. An attacker could possibly
use this issue to cause a denial of service or to expose sensitive
information. (CVE-201
GHSA
GHSA-r8vx-h3vx-6wh2: Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry
ghsa_unreviewed·2022-05-13
CVE-2017-16879 [HIGH] CWE-787 GHSA-r8vx-h3vx-6wh2: Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.
OSV
CVE-2017-16879: Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry
osv·2017-11-22·CVSS 7.8
CVE-2017-16879 [HIGH] CVE-2017-16879: Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-16879 ncurses: Stack-based buffer overflow in the _nc_write_entry function [fedora-all]
bugzilla·2017-11-27·CVSS 7.8
CVE-2017-16879 [HIGH] CVE-2017-16879 ncurses: Stack-based buffer overflow in the _nc_write_entry function [fedora-all]
CVE-2017-16879 ncurses: Stack-based buffer overflow in the _nc_write_entry function [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
Bugzilla
CVE-2017-16879 ncurses: Stack-based buffer overflow in the _nc_write_entry function
bugzilla·2017-11-27·CVSS 7.8
CVE-2017-16879 [HIGH] CVE-2017-16879 ncurses: Stack-based buffer overflow in the _nc_write_entry function
CVE-2017-16879 ncurses: Stack-based buffer overflow in the _nc_write_entry function
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.
References:
https://cxsecurity.com/issue/WLB-2017110106
Discussion:
Created ncurses tracking bugs for this issue:
Affects: fedora-all [bug 1517923]
---
fortify source mitigates this to a crash only.
---
Statement:
Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redh
arXiv
Well Begun is Half Done: An Empirical Study of Exploitability & Impact of Base-Image Vulnerabilities
arxiv_fulltext·2021-12-21
Well Begun is Half Done: An Empirical Study of Exploitability & Impact of Base-Image Vulnerabilities
Well Begun is Half Done: An Empirical Study of Exploitability & Impact of Base-Image Vulnerabilities
Mubin Ul Haque2 and
M. Ali Babar 3
Centre for Research on Engineering Software Technologies (CREST)
School of Computer Science, and Engineering, The University of Adelaide, Adelaide, Australia
Cyber Security Cooperative Research Centre, Australia
[email protected], [email protected]
plain
plain
## Abstract
Container technology, (e.g., Docker) is being widely adopted for deploying software infrastructures or applications in the form of container images.
Security vulnerabilities in the container images are a primary concern for developing containerized software.
Exploitation of the vulnerabilities could result in disastrous impact, such as loss of confidentiality, in
http://invisible-island.net/ncurses/NEWS.html#t20171125http://packetstormsecurity.com/files/145045/GNU-ncurses-6.0-tic-Denial-Of-Service.htmlhttps://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://security.gentoo.org/glsa/201804-13https://tools.cisco.com/security/center/viewAlert.x?alertId=57695http://invisible-island.net/ncurses/NEWS.html#t20171125http://packetstormsecurity.com/files/145045/GNU-ncurses-6.0-tic-Denial-Of-Service.htmlhttps://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://security.gentoo.org/glsa/201804-13https://tools.cisco.com/security/center/viewAlert.x?alertId=57695
2017-11-22
Published