Out-of-Bounds Affecting pupnp/pupnp package, versions [,1.6.18)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
97.29% (100th 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 IDSNYK-UNMANAGED-PUPNPPUPNP-2369504
  • published26 Jan 2022
  • disclosed31 Jan 2013
  • creditUnknown

Introduced: 31 Jan 2013

CVE-2012-5958  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade pupnp/pupnp to version 1.6.18 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Stack-based buffer overflow in the unique_service_name function in ssdp/ssdp_server.c in the SSDP parser in the portable SDK for UPnP Devices (aka libupnp, formerly the Intel SDK for UPnP devices) before 1.6.18 allows remote attackers to execute arbitrary code via a UDP packet with a crafted string that is not properly handled after a certain pointer subtraction.

CVSS Scores

version 3.1