CVE-2021-21969
JSON

3.7low

An out-of-bounds write vulnerability exists in the HandleSeaCloudMessage functionality of Sealevel Systems, Inc.

Severity
3.7low CVSS:3.0 by talos
Exploit likelihood
0.92% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
talos

Description

An out-of-bounds write vulnerability exists in the HandleSeaCloudMessage functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.34. The HandleIncomingSeaCloudMessage function uses at [4] the json_object_get_string to populate the p_payload global variable. The p_payload is only 0x100 bytes long, and the total MQTT message could be up to 0x201 bytes. Because the function json_object_get_string will fill str based on the length of the json’s value and not the actual str size, this would result in a possible out-of-bounds write.

Affected

Product or packageVersionsReported by
Sealevel"Sealevel Systems, Inc. SeaConnect 370W v1.3.34CVE List
sealevel seaconnect_370w_firmware1.3.34NVD

All scores

talos3.7low CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

CWE-120CWE-787

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

An out-of-bounds write vulnerability exists in the HandleSeaCloudMessage functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.34. The HandleIncomingSeaCloudMessage function uses at [4] the json_object_get_string to populate the p_payload global variable. The p_payload is only 0x100 bytes long, and the total MQTT message could be up to 0x201 bytes. Because the function json_object_get_string will fill str based on the length of the json’s value and not the actual str size, this would result in a possible out-of-bounds write.

NVD (es)

Se presenta una vulnerabilidad de escritura fuera de límites en la funcionalidad HandleSeaCloudMessage de Sealevel Systems, Inc. SeaConnect 370W versión v1.3.34. La función HandleIncomingSeaCloudMessage usa en [4] el json_object_get_string para rellenar la variable global p_payload. El p_payload presenta sólo 0x100 bytes de longitud, y el mensaje MQTT total podría ser de hasta 0x201 bytes. Debido a que la función json_object_get_string rellenará str basándose en la longitud del valor de json y no en el tamaño real de str, esto resultaría en una posible escritura fuera de límites

References

https://talosintelligence.com/vulnerability_reports/TALOS-2021-1396exploit, technical-description, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-21969 changed 2025-04-15CVE Terms of Use
NVDCVE-2021-21969 changed 2026-06-17Public domain