CVE-2021-21969 Memory corruption in Sealevel"
An out-of-bounds write in the SeaConnect 370W MQTT handler allows attackers to cause memory corruption, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-21969?
CVE-2021-21969 is a low-severity memory corruption vulnerability in Sealevel", published on 4 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-21969?
It affects 1 product.
Products include Sealevel Seaconnect 370w Firmware.
How do I fix CVE-2021-21969?
No fix has been published for CVE-2021-21969 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-21969 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-21969 exists.
Other vulnerabilities in Sealevel"
Sources
Also known as GHSA-wjf2-5mh5-257q.