Out-of-Bounds Affecting rsmarples/dhcpcd package, versions [,6.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.65% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RSMARPLESDHCPCD-2370050
  • published26 Jan 2022
  • disclosed30 Jul 2015
  • creditUnknown

Introduced: 30 Jul 2015

CVE-2014-7912  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade rsmarples/dhcpcd to version 6.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The get_option function in dhcp.c in dhcpcd before 6.2.0, as used in dhcpcd 5.x in Android before 5.1 and other products, does not validate the relationship between length fields and the amount of data, which allows remote DHCP servers to execute arbitrary code or cause a denial of service (memory corruption) via a large length value of an option in a DHCPACK message.

CVSS Base Scores

version 3.1