CVE-2016-6559
What it is
Improper bounds checking of the obuf variable in the link_ntoa() function in linkaddr.c of the BSD libc library may allow an attacker to read or write from memory. The full impact and severity depends on the method of exploit and how the library is used by applications. According to analysis by FreeBSD developers, it is very unlikely that applications exist that utilize link_ntoa() in an exploitable manner, and the CERT/CC is not aware of any proof of concept. A blog post describes the functionality of link_ntoa() and points out that none of the base utilities use this function in an exploitable manner. For more information, please see FreeBSD Security Advisory SA-16:37.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.7% in the next 30 days (EPSS).
- Severity: 9.8 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.7% · EPSS, next 30 days
- Weakness
- CWE-120 · Classic buffer overflow
- Record status
- Modified
Affected
- Freebsd 9.3
- Freebsd 10.1
- Freebsd 10.2
- Freebsd 10.3
- Freebsd 11.0
Attack profile CVSS 3.0 · 9.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-6559.md and follow it. Check whether this project is affected by CVE-2016-6559. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:37.libc.asc
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:37.libc.asc
References
- http://www.securitytracker.com/id/1037398
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:37.libc.asc
- https://www.kb.cert.org/vuls/id/548487
- https://www.securityfocus.com/bid/94694
- http://www.securitytracker.com/id/1037398
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:37.libc.asc
- https://www.kb.cert.org/vuls/id/548487
- https://www.securityfocus.com/bid/94694