Infinite loop in libraw (Alpine package)



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-5818
CWE-ID CWE-835
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
libraw (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: #VU17352

Risk: Low

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

CVE-ID: CVE-2018-5818

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in the parse_rollei function of dcraw_common.cpp. A remote attacker can trick the victim into opening a specially crafted input and perform DoS attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libraw (Alpine package): 0.19.1-r0 - 0.19.2-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=5e4cae1db90de2455843fe67285e3177c6085189
https://git.alpinelinux.org/aports/commit/?id=161149cf67645cc10d73766ac31dcf11973e8d83
https://git.alpinelinux.org/aports/commit/?id=cba9db72423fbb58598391ac61688df954bc28f8


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. However, proof of concept for this vulnerability is available.



###SIDEBAR###