LiveActive security incident?Get immediate response
CVE Record

CVE-2021-33440: 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 mjs_bcode_commit() in mjs.c.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-33440 is a reported NULL pointer dereference in the mJS restricted JavaScript engine. In practical terms, affected software embedding mJS could crash when the vulnerable code path is reached. The public bundle does not provide CVSS scoring, affected versions, a named patch, or evidence of active exploitation.

Executive priority

Treat this as an inventory-driven risk until affected versions and fixes are confirmed. Escalate priority if mJS is embedded in exposed products, firmware, or services that process untrusted scripts; otherwise handle through normal dependency risk management.

Technical view

The issue is described as a NULL pointer dereference in mjs_bcode_commit() in mjs.c, affecting mJS with ES6 behavior. The supplied sources do not identify specific affected releases, downstream products, CWE mapping, exploitability beyond the dereference, or remediation commit details.

Likely exposure

Exposure is likely limited to software that directly embeds or packages Cesanta mJS. The CVE record lists vendor, product, versions, and CPEs as unavailable, so teams must confirm use through dependency and source inventories rather than relying on CPE matching.

Exploitation context

The CVE is not listed in KEV, and the supplied bundle does not state active exploitation. Public references include a GitHub issue and a gist, but the provided evidence is insufficient to claim real-world exploitation or reliable remote exploitability.

Researcher notes

Key gaps are severity, affected version range, fix status, and exploitability context. The strongest source-grounded statement is a NULL pointer dereference in mjs_bcode_commit(); further conclusions require reviewing upstream issue details and any linked proof material.

Mitigation direction

  • Check upstream mJS and vendor guidance for affected versions and fixes.
  • Inventory applications, firmware, and services that embed Cesanta mJS.
  • Prioritize systems that execute untrusted or user-controlled JavaScript through mJS.
  • Apply a vendor-confirmed fixed release when one is identified.
  • Temporarily reduce or disable untrusted script execution where feasible.

Validation and detection

  • Confirm whether mJS is present in source, vendored code, firmware, or dependencies.
  • Identify the embedded mJS version or commit where possible.
  • Review crash telemetry for NULL dereference signals in mjs_bcode_commit().
  • Check whether exposed workflows can reach mJS ES6 parsing or bytecode paths.
  • Track the referenced upstream issue for fix and version clarification.
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-33440 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.