Cyber Resilience

CVE-2024-50597

Memory Safety in St X-Cube-Azrt-H7Rs 1.0.0

Public PoCMemory Safety
Published
02 April 2025
Modified
03 November 2025
CVSS Score v3.1 4.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS Score 0.0072 51th percentile
Risk Priority 38 floored blend · peak EPSS

Summary

CVE-2024-50597 is a medium-severity Wrap or Wraparound (CWE-191) vulnerability in St X-Cube-Azrt-H7Rs. Its CVSS base score is 4.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 49% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

An integer underflow vulnerability exists in the HTTP server PUT request functionality of STMicroelectronics X-CUBE-AZRTOS-WL 2.0.0. A specially crafted network packet can lead to denial of service. An attacker can send a malicious packet to trigger this vulnerability.This vulnerability affects…

more

the NetX Duo Component HTTP Server implementation which can be found in x-cube-azrtos-f7\Middlewares\ST\netxduo\addons\http\nxd_http_server.c

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-50594Same product: St X-Cube-Azrt-H7Rs
CVE-2024-50595Same product: St X-Cube-Azrt-H7Rs
CVE-2024-50596Same product: St X-Cube-Azrt-H7Rs
CVE-2024-45064Same product: St X-Cube-Azrt-H7Rs
CVE-2024-50385Same product: St X-Cube-Azrt-H7Rs
CVE-2024-50384Same product: St X-Cube-Azrt-H7Rs
CVE-2023-50096Same vendor: St
CVE-2023-36629Same vendor: St
CVE-2024-23313Shared CWE-191
CVE-2025-47128Shared CWE-191

Affected Assets

st
x-cube-azrt-h7rs
1.0.0
st
x-cube-azrtos-f4
1.1.0
st
x-cube-azrtos-f7
1.1.0
st
x-cube-azrtos-g0
1.1.0
st
x-cube-azrtos-g4
2.0.0
st
x-cube-azrtos-h7
3.3.0
st
x-cube-azrtos-l4
2.0.0
st
x-cube-azrtos-l5
2.0.0
st
x-cube-azrtos-wb
2.0.0
st
x-cube-azrtos-wl
2.0.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and static/dynamic analysis directly find integer underflow defects before code is released.

Security engineering principles require use of safe arithmetic constructs or language features that structurally eliminate integer underflow during subtraction.

Input validation can reject or sanitize values that would cause a subtraction to underflow the representable range.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
prevents

Secure SDLC practices directly prevent integer underflow defects via input validation, bounds checking, and static analysis.

ID.RA-01 partial match
prevents

Vulnerability scanning and code analysis can surface underflow flaws after they are introduced.

PR.PS-02 partial match
prevents

Routine patching can remediate known underflow bugs once they are discovered in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches integer underflow defects before release.

prevents

Secure development lifecycle mandates input validation and arithmetic checks that prevent integer underflow.

prevents

Application security requirements include bounds checking and safe arithmetic to avoid underflow conditions.

prevents

Secure architecture principles require defensive coding patterns that mitigate integer wraparound risks.

prevents

Secure coding standards directly prescribe safe integer handling and overflow/underflow prevention.

References