Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Become a Partner and License Our Database or Notification Service
NetBSD ARP Processing Flaws Let Remote Users Obtain Potentially Sensitive Information and Deny Service
SecurityTracker Alert ID: 1037859|
SecurityTracker URL: http://securitytracker.com/id/1037859
(Links to External Site)
Date: Feb 21 2017
Denial of service via network, Disclosure of system information, Disclosure of user information|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): 6.0 - 6.0.5, 6.1 - 6.1.4, 7.0 - 7.0.2|
Two vulnerabilities were reported in NetBSD. A remote user can consume excessive memory on the target system. A remote user can obtain potentially sensitive information on the target system.|
A remote user can send specially crafted ARP requests to the target system to trigger a memory leak and consume excessive memory on the target system. As a result, a kernel panic may eventually occur.
A remote user can send an ARP request with specially crafted hardware and protocol length values to cause the target system to respond with portions of uninitialized kernel data.
Maxime Villard reported these vulnerabilities.
A remote user can consume excessive memory resources on the target system.|
A remote user can obtain potentially sensitive information on the target system.
The vendor has issue a fix.|
The vendor advisory is available at:
Vendor URL: ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2017-002.txt.asc (Links to External Site)
Access control error, Input validation error|
Source Message Contents
Date: Fri, 17 Feb 2017 16:07:09 -0500|
Subject: NetBSD Security Advisory 2017-002: Several vulnerabilities in ARP
-----BEGIN PGP SIGNED MESSAGE-----
NetBSD Security Advisory 2017-002
Topic: Several vulnerabilities in ARP
Version: NetBSD-current: source prior to Tue, Jan 24th 2017
NetBSD 7.0 - 7.0.2: affected
NetBSD 6.1 - 6.1.4: affected
NetBSD 6.0 - 6.0.5: affected
Severity: Remote DoS, remote information disclosure
Fixed: NetBSD-current: Tue, Jan 24th 2017
NetBSD-7-0 branch: Sun, Feb 5th 2017
NetBSD-7 branch: Sun, Feb 5th 2017
NetBSD-6-0 branch: Sun, Feb 5th 2017
NetBSD-6-1 branch: Sun, Feb 5th 2017
NetBSD-6 branch: Sun, Feb 5th 2017
Teeny versions released later than the fix date will contain the fix.
Please note that NetBSD releases prior to 6.0 are no longer supported.
It is recommended that all users upgrade to a supported release.
Two vulnerabilities were found in NetBSD's ARP implementation:
- A memory leak could allow an attacker to remotely cause the system to
run out of memory and eventually panic.
- Missing validation checks on a received ARP packet header could cause
the system to reply with uninitialized kernel data which may lead to
- When replying to an ARP request, a particular branch taken in the
output code did not free the mbuf that was being sent. An attacker
could send specially-crafted ARP requests that trigger this memory
- When processing a received ARP request, the system did not properly
check the hardware and protocol lengths in the ARP header. These fields
being used to reply to the request in memcpys, an attacker could send
an ARP packet with the highest encodable lengths and cause the kernel
to copy in the reply packet more data than is available. It has been
demonstrated that a remote machine can thereby retrieve 249 bytes of
kernel memory over an Ethernet link.
Solutions and Workarounds
For all NetBSD versions, you need to obtain fixed kernel sources,
rebuild and install the new kernel, and reboot the system.
The fixed source may be obtained from the NetBSD CVS repository.
The following instructions briefly summarise how to upgrade your
kernel. In these instructions, replace:
ARCH with your architecture (from uname -m),
KERNCONF with the name of your kernel configuration file and
VERSION with the file version below
File versions containing the fixes:
FILE HEAD netbsd-7 netbsd-7-0 netbsd-6 netbsd-6-1 netbsd-6-0
---- ---- -------- ---------- -------- ---------- ----------
1.239 18.104.22.168 22.214.171.124 126.96.36.199 188.8.131.52 184.108.40.206
1.76 220.127.116.11 18.104.22.168 22.214.171.124 126.96.36.199.2.1 188.8.131.52
1.50 184.108.40.206 220.127.116.11.2.1 18.104.22.168 22.214.171.124 126.96.36.199
1.236 188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168.2.2 22.214.171.124.4.2
1.104 126.96.36.199 188.8.131.52 184.108.40.206 220.127.116.11.2.1 18.104.22.168
1.81 22.214.171.124 126.96.36.199 188.8.131.52 184.108.40.206 220.127.116.11
To update from CVS, re-build, and re-install the kernel:
# cd src
# cvs update -d -P -r VERSION sys/netinet/if_arp.c
# cvs update -d -P -r VERSION sys/net/if_arcsubr.c
# cvs update -d -P -r VERSION sys/net/if_ecosubr.c
# cvs update -d -P -r VERSION sys/net/if_ethersubr.c
# cvs update -d -P -r VERSION sys/net/if_fddisubr.c
# cvs update -d -P -r VERSION sys/net/if_tokensubr.c
# ./build.sh kernel=KERNCONF
# mv /netbsd /netbsd.old
# cp sys/arch/ARCH/compile/obj/KERNCONF/netbsd /netbsd
# shutdown -r now
For more information on how to do this, see:
Maxime Villard for finding the issues and writing fixes.
2017-02-17 Initial release
Advisories may be updated as new information becomes available.
The most recent version of this advisory (PGP signed) can be found at
Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.org/ and http://www.NetBSD.org/Security/ .
Copyright 2017, The NetBSD Foundation, Inc. All Rights Reserved.
Redistribution permitted only in full, unmodified form.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
Go to the Top of This SecurityTracker Archive Page