Out-of-bounds read in nagios (Alpine package)



| Updated: 2022-08-08
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2013-7205
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
nagios (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU32582

Risk: Medium

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

CVE-ID: CVE-2013-7205

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

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

The vulnerability exists due to a boundary condition when processing a long string in the last key value in the variable list, which triggers a heap-based buffer over-read within the Off-by-one error in the process_cgivars function in contrib/daemonchk.c. A remote attacker can create a specially crafted file, pass it to the application, trigger out-of-bounds read error and crash the affected application.

Mitigation

Install update from vendor's website.

Vulnerable software versions

nagios (Alpine package): 3.4.4-r0

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=bc591804416645cfa8daae8a4d4ab036ba72a402
https://git.alpinelinux.org/aports/commit/?id=c9d8a6c05b5f9253252739560fe8d76468e826c0
https://git.alpinelinux.org/aports/commit/?id=ea378e00bf8b68874150bc606edc6818b9ff233f
https://git.alpinelinux.org/aports/commit/?id=0fc285b2ea702c82941928cdfa4e521addba1705


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###