CVE-2022-21122 CRITICAL

CVE-2022-21122: Arbitrary Code Execution

Vendor N/A
Product metacalc
Published June 3, 2022
Last update September 16, 2024

CVSS base score

9.0/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P

What the vulnerability does

01Description

The package metacalc before 0.0.2 are vulnerable to Arbitrary Code Execution when it exposes JavaScript's Math class to the v8 context. As the Math class is exposed to user-land, it can be used to get access to JavaScript's Function constructor.

Key dates

02Disclosure timeline

June 3, 2022 CVE published
September 16, 2024 Record updated