Integer Overflow or Wraparound Affecting mujs package, versions [,1.0.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.13% (50th percentile)

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-UNMANAGED-MUJS-2364137
  • published26 Jan 2022
  • disclosed30 Jan 2017
  • creditUnknown

Introduced: 30 Jan 2017

CVE-2017-5628  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade mujs to version 1.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. An issue was discovered in Artifex Software, Inc. MuJS before 8f62ea10a0af68e56d5c00720523ebcba13c2e6a. The MakeDay function in jsdate.c does not validate the month, leading to an integer overflow when parsing a specially crafted JS file.

CVSS Scores

version 3.1