Buffer Overflow Affecting Azure/azure-c-shared-utility package, versions [,2024-02-08)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.58% (68th 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-AZUREAZURECSHAREDUTILITY-6506800
  • published27 Mar 2024
  • disclosed26 Mar 2024
  • credit0xdea

Introduced: 26 Mar 2024

CVE-2024-29195  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Azure/azure-c-shared-utility to version 2024-02-08 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to vulnerabilities in the parameter checking mechanism. An attacker can cause remote code execution by exploiting the buffer length parameter, which may lead to integer wraparound, under-allocation, or heap buffer overflow.

Note

This is only exploitable if:

  1. The attacker has a compromised Azure account, allowing malformed payloads to be sent to the device via the IoT Hub service

  2. The attacker bypasses the IoT hub service max message payload limit of 128KB

  3. The attacker can overwrite code space with remote code.

References

CVSS Base Scores

version 3.1