Infinite loop in ncurses (Alpine package)



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-13728
CWE-ID CWE-835
Exploitation vector Network
Public exploit N/A
Vulnerable software
ncurses (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Infinite loop

EUVDB-ID: #VU12195

Risk: Low

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2017-13728

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause Dos condition on the target system.

The weakness exists in the next_char function in comp_scan.c due to an infinite loop. A remote attacker can submit a specially crafted input and cause the service to crash.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ncurses (Alpine package): 6.0-r7

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=a3baab138582d2f05cff25bc57995344dbc1b0ff
https://git.alpinelinux.org/aports/commit/?id=cad65ab77415d76bbebc9f85a856881bb86ce00b
https://git.alpinelinux.org/aports/commit/?id=4c29d05978cca4e21591316f0aed86a256628564


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###