#VU16110 Integer overflow in NetBSD - CVE-2015-2305


Vulnerability identifier: #VU16110

Vulnerability risk: Low

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

CVE-ID: CVE-2015-2305

CWE-ID: CWE-190

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
NetBSD
Operating systems & Components / Operating system

Vendor: NetBSD Foundation, Inc

Description

The vulnerability allows a local attacker to execute arbitrary code on the target system.

The vulnerability exists due to \integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3.8.g5 on 32-bit platforms, as used in NetBSD through 6.1.5 and other products. A local attacker can trigger heap-based buffer overflow via a large regular expression and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

NetBSD: 6.1.1 - 6.1.5


External links
https://blog.clamav.net/2015/04/clamav-0987-has-been-released.html
https://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
https://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
https://lists.opensuse.org/opensuse-security-announce/2015-05/msg00026.html
https://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html
https://lists.opensuse.org/opensuse-updates/2015-05/msg00024.html
https://marc.info/?l=bugtraq&m=143403519711434&w=2
https://openwall.com/lists/oss-security/2015/02/07/14
https://openwall.com/lists/oss-security/2015/03/11/8
https://php.net/ChangeLog-5.php
https://rhn.redhat.com/errata/RHSA-2015-1053.html
https://rhn.redhat.com/errata/RHSA-2015-1066.html
https://www.debian.org/security/2015/dsa-3195
https://www.kb.cert.org/vuls/id/695940
https://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
https://www.securityfocus.com/bid/72611
https://www.securitytracker.com/id/1031947
https://www.ubuntu.com/usn/USN-2572-1
https://www.ubuntu.com/usn/USN-2594-1
https://guidovranken.wordpress.com/2015/02/04/full-disclosure-heap-overflow-in-h-spencers-regex-library-on-32-bit-systems/
https://support.apple.com/HT205267


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability