CyberSecBulletin
CVE-2024-5401NVD status: Analyzed

DiskStation Manager (DSM): Improper Control of Dynamically-Managed Code Resources

CVE-2024-5401 is a high-severity improper control of dynamically-managed code resources vulnerability in DiskStation Manager (DSM) from Synology, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists versions 7.2.2-72806, 7.2.1-69057-2 as the first without the flaw, so updating DiskStation Manager (DSM) to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.41% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update DiskStation Manager (DSM) to 7.2.2-72806 or 7.2.1-69057-2, whichever matches your release line, or a later version.
  2. Update Unified Controller (DSMUC) to 3.1.4-23079 or a later version.
  3. Update Diskstation Manager to 7.2.1-69057-2 or 7.2.2-72806, whichever matches your release line, or a later version.
  4. Read the advisory on synology.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
SynologyDiskStation Manager (DSM)7.2.2 up to, but not including, 7.2.2-72806; 7.2.1 up to, but not including, 7.2.1-69057-27.2.2-72806, 7.2.1-69057-2
SynologyUnified Controller (DSMUC)3.1 up to, but not including, 3.1.4-230793.1.4-23079
SynologyDiskstation Manager7.2.1-69057 up to, but not including, 7.2.1-69057-2; 7.2.2-72803 up to, but not including, 7.2.2-728067.2.1-69057-2, 7.2.2-72806
SynologyDiskstation Manager Unified Controller3.1-23028 up to, but not including, 3.1.4-230793.1.4-23079

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.14.3MediumCNA (synology.com)
CVSS 3.18.8HighNVD

Official description

Improper control of dynamically-managed code resources vulnerability in WebAPI component in Synology DiskStation Manager (DSM) before 7.1.1-42962-8 and 7.2.1-69057-2 and 7.2.2-72806 and Synology Unified Controller (DSMUC) before 3.1.4-23079 allows remote authenticated users to obtain privileges without consent via unspecified vectors.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Control of Dynamically-Managed Code Resources

The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.

How developers prevent this class of flaw

  • For any externally-influenced input, check the input against an allowlist of acceptable values.
  • Refactor the code so that it does not need to be dynamically managed.

More Improper Control of Dynamically-Managed Code Resources vulnerabilities (CWE-913)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in DiskStation Manager (DSM)

All DiskStation Manager (DSM) vulnerabilities

Recent Improper Control of Dynamically-Managed Code Resources vulnerabilities

Spotted an error? Tell us.