LiveActive security incident?Get immediate response
CVE Record

CVE-2021-33442: An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6).

An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is NULL pointer dereference in json_printf() in mjs.c.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-33442 is a reported NULL pointer dereference in mJS, a restricted JavaScript engine. In practical terms, a vulnerable code path in json_printf() may crash the process using the engine. The public record does not provide severity scoring, affected versions, exploit status, or a confirmed fix.

Executive priority

Treat this as an exposure-discovery item unless mJS is embedded in a customer-facing or safety-critical component. The main business risk supported by the sources is service crash or instability, but urgency cannot be reliably scored from the provided record alone.

Technical view

The CVE description identifies a NULL pointer dereference in json_printf() in mjs.c for mJS with ES6 support. The record lists GitHub issue and gist references, but the supplied bundle does not establish affected version ranges, CVSS, CWE, patch status, or downstream products embedding mJS.

Likely exposure

Exposure is most likely in products, firmware, or services that embed the cesanta/mjs engine and allow data to reach json_printf(). The CVE record lists affected vendor and product as n/a, so exposure must be determined by dependency and source review.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation evidence. The public references may include technical reproduction details, but the provided bundle only supports describing this as a reported crash-class memory safety issue, not confirmed exploitation in the wild.

Researcher notes

The official record is sparse: no CVSS, CWE, affected versions, or remediation details are supplied. Analysis should focus on confirming embedded mJS use, whether json_printf() is reachable by attacker-controlled input, and whether maintainers identify a corrected revision in the linked issue.

Mitigation direction

  • Inventory applications, firmware, and libraries that embed cesanta/mjs.
  • Check the mJS project issue and vendor advisories for fixed versions or workarounds.
  • Restrict untrusted input from reaching mJS formatting or JSON output paths.
  • Run mJS-dependent components with process isolation and crash recovery where possible.
  • Prioritize replacement or update if mJS is unmaintained in your environment.

Validation and detection

  • Confirm whether mjs.c and json_printf() exist in your shipped codebase.
  • Map all call paths that can invoke json_printf() with external data.
  • Review crash logs for NULL dereference failures in mJS-related components.
  • Compare your mJS source revision against the referenced GitHub issue context.
  • Document whether any internet-facing workflow can reach the vulnerable engine.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-33442 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.