Out-of-Bounds Affecting libupnp package, versions <1:1.6.6-5.1ubuntu0.12.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
83.22% (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-UBUNTU1204-LIBUPNP-324491
  • published31 Jan 2013
  • disclosed31 Jan 2013

Introduced: 31 Jan 2013

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

How to fix?

Upgrade Ubuntu:12.04 libupnp to version 1:1.6.6-5.1ubuntu0.12.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libupnp package and not the libupnp package as distributed by Ubuntu. See How to fix? for Ubuntu:12.04 relevant fixed versions and status.

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 Base Scores

version 3.1