Improper Data Handling Affecting ses package, versions <0.16.0


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

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-JS-SES-3057928
  • published21 Oct 2022
  • disclosed20 Oct 2022
  • creditUnknown

Introduced: 20 Oct 2022

CVE NOT AVAILABLE CWE-19  (opens 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.

CVSS Scores

version 3.1