SecurityContext

CVE-2021-33449: mjs - Null Pointer Dereference

  • Cve: CVE-2021-33449
  • Name: mjs - Null Pointer Dereference
  • Description: An issue was discovered in mjs (mJS: Restricted JavaScript engine), ES6 (JavaScript version 6). There is NULL pointer dereference in mjs_bcode_part_get_by_offset() in mjs.c.
  • Impact: Attackers can cause application crashes or execute arbitrary code through null pointer dereference.
  • Remediation: Update to the latest version of mjs or apply patches addressing the null pointer dereference issue.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00308
  • Epss percentile: 0.23993
  • Assignee: [email protected]
  • Published at: 2022-07-26T13:15:09Z
  • Age in days: 1582
  • Modified at: 2026-06-17T03:54:34Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-33449
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

Public exploits

UrlSourceAdded date
https://github.com/cesanta/mjs/issues/162nvd2022-07-26

References

UrlSourceTags
https://github.com/cesanta/mjs/issues/162nvdExploit, Issue Tracking, Third Party Advisory
https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6dnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
cesanta:mjs< 2.20.0nonvd/v1/products/cesanta/mjs

Projects

RepositoryLink kindsIndexedUrl
cesanta/mjsissuesyes/v1/repositories/cesanta/mjs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-07-26
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts