Improper Data Handling Affecting ses package, versions <0.16.0


0.0
low
0
10

Snyk CVSS

    Attack Complexity High

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 ID SNYK-JS-SES-3057928
  • published 21 Oct 2022
  • disclosed 20 Oct 2022
  • credit Unknown

Introduced: 20 Oct 2022

CVE NOT AVAILABLE CWE-19 Open this link in a new tab

How to fix?

Upgrade ses to version 0.16.0 or higher.

Overview

ses is a secure runtime for running third-party code safely.

Affected versions of this package are vulnerable to Improper Data Handling due to a defect in harden properties which have names that parse as numbers but are not the same as the canonical representation of those numbers, as in "+0" and "" which are both equivalent to their canonical number "0", remain writable after hardening.

Workaround

Users who are unable to upgrade to the fixed version should avoid sharing TypedArrays between co-tenant programs and instead create wrapper objects that produce a read-only view of the underlying data.