Lucene search

K
cveMitreCVE-2021-31875
HistoryApr 29, 2021 - 2:15 a.m.

CVE-2021-31875

2021-04-2902:15:08
CWE-787
CWE-193
mitre
web.nvd.nist.gov
57
cve-2021-31875
cesanta
mongooseos
mjs 1.26
mjs_json.c
json string
buffer overflow
off-by-one
heap-based
control flow redirection

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.5

Confidence

High

EPSS

0.006

Percentile

79.0%

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.”

Affected configurations

Nvd
Node
cesantamongooseos_mjsMatch1.26
VendorProductVersionCPE
cesantamongooseos_mjs1.26cpe:2.3:a:cesanta:mongooseos_mjs:1.26:*:*:*:*:*:*:*

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.5

Confidence

High

EPSS

0.006

Percentile

79.0%

Related for CVE-2021-31875