CyberSecBulletin

Passing Mutable Objects to an Untrusted Method

CWE-374

The product sends non-cloned mutable data as an argument to a method or function.

We track 1 vulnerability of this type. 100% are rated high or critical, and the average CVSS score is 8.8.

How this weakness is prevented

  • Implementation: Pass in data which should not be altered as constant or immutable.
  • Implementation: Clone all mutable data before passing it into an external function. This is the preferred mitigation. This way, regardless of what changes are made to the data, a valid copy is retained for use by the class.

Latest Passing Mutable Objects to an Untrusted Method vulnerabilities

  • 8.8 High severity

    Chrome: Passing Mutable Objects to an Untrusted Method

    CVE-2024-3833GoogleEPSS 17.6%

    Object corruption in WebAssembly in Google Chrome prior to 124.0.6367.60 allowed a remote attacker to potentially exploit object corruption via a crafted HTML page. (Chromium security severity: High)