SB2018012328 - Stack-based buffer overflow in ncurses (Alpine package)
Published: January 23, 2018
Security Bulletin ID
SB2018012328
Severity
High
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Code execution
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Stack-based buffer overflow (CVE-ID: CVE-2017-16879)
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.The weakness exists in the _nc_write_entry function in tinfo/write_entry.c due to stac-based buffer overflow. A remote attacker can submit a specially crafted terminfo file, as demonstrated by tic, trick the victim into opening it, trigger memory corruption and cause the service to crash or execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=f303e294fb206385ed1e11fd5188e7d2e6629b62
- https://git.alpinelinux.org/aports/commit/?id=213b1c9e6d82e0a04339d69c8f868ff13c48775a
- https://git.alpinelinux.org/aports/commit/?id=2e8e7a0d347e1184d765a8a3bb6115376d37c05f
- https://git.alpinelinux.org/aports/commit/?id=459703c0b847271ca38c9d83d0ef24659d183023
- https://git.alpinelinux.org/aports/commit/?id=9b56154d7354a5313d2f1283d2c58243a0e8f9f7