MobilityDB through 1.3.0 Out-of-bounds Read DoS via WKB Deserialization
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
MobilityDB version 1.3.0 and earlier contains an out-of-bounds read vulnerability in the MEOS binary and library WKB deserialization logic that allows unprivileged database users to crash the PostgreSQL backend process by supplying a crafted WKB payload with a negative length field. The negative length value wraps to a large unsigned size_t due to missing signed validation, bypasses an overflow-unsafe pointer arithmetic bounds check in wkb_parse_state_check(), and causes memcpy() in text_from_wkb_state() to operate with a corrupted unbounded length, resulting in a remote denial-of-service condition affecting all sessions on the PostgreSQL instance.
Text from CVE List
Affected versions 3
- MobilityDBaffected: 1.1.0 through 1.1.2CVE List
- MobilityDBaffected: 1.2.0 before 1.2.2CVE List
- MobilityDBaffected: 1.3.0 before 1.3.1CVE List
References 4
- github.com/MobilityDB/MobilityDB/releases/tag/v1.3.1Fixvia CVE List
- github.com/MobilityDB/MobilityDB/releases/tag/v1.2.2Fixvia CVE List
- github.com/MobilityDB/MobilityDB/security/advisories/GHSA-2c92-2w7c-pm3gAdvisoryvia CVE List
- vulncheck.com/advisories/mobilitydb-through-out-of-bounds-read-dos-via-wkb-deserializationAdvisoryvia CVE List