CVE-2021-31875

CVSS V2 High 7.5 CVSS V3 Critical 9.8
Description
** DISPUTED ** In mjs_json.c in Cesanta MongooseOS mJS 1.26, a maliciously formed JSON string can trigger an off-by-one heap-based buffer overflow in mjs_json_parse, which can potentially lead to redirection of control flow. NOTE: the original reporter disputes the significance of this finding because "there isn’t very much of an opportunity to exploit this reliably for an information leak, so there isn’t any real security impact."
Overview
  • CVE ID
  • CVE-2021-31875
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-04-29T02:15:08
  • Last Modified Date
  • 2023-03-01T16:02:41
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:cesanta:mongooseos_mjs:1.26:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://github.com/418sec/mjs/pull/2 Patch Third Party Advisory
https://github.com/cesanta/mjs/releases/tag/1.26 Third Party Advisory
https://huntr.dev/bounties/1-other-mjs/ Exploit Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 06:26:38 Added to TrackCVE
2022-12-05 01:13:47 2021-04-29T02:15Z 2021-04-29T02:15:08 CVE Published Date updated
2022-12-05 01:13:47 2022-04-25T20:26:36 CVE Modified Date updated
2022-12-05 01:13:47 Analyzed Vulnerability Status updated
2022-12-27 09:12:05 2022-12-27T08:15:09 CVE Modified Date updated
2022-12-27 09:12:05 Analyzed Modified Vulnerability Status updated
2022-12-27 09:12:06 Weakness Enumeration update
2022-12-27 09:12:06 In mjs_json.c in Cesanta MongooseOS mJS 1.26, a maliciously formed JSON string can trigger an off-by-one heap-based buffer overflow in mjs_json_parse, which can potentially lead to redirection of control flow. ** DISPUTED ** In mjs_json.c in Cesanta MongooseOS mJS 1.26, a maliciously formed JSON string can trigger an off-by-one heap-based buffer overflow in mjs_json_parse, which can potentially lead to redirection of control flow. NOTE: the original reporter disputes the significance of this finding because "there isn’t very much of an opportunity to exploit this reliably for an information leak, so there isn’t any real security impact." Description updated
2022-12-29 11:12:24 Modified Undergoing Analysis Vulnerability Status updated
2023-03-01 16:11:28 2023-03-01T16:02:41 CVE Modified Date updated
2023-03-01 16:11:28 Undergoing Analysis Analyzed Vulnerability Status updated