Skip to content

CVE-2023-39946 Heap overflow in push_back_helper due to a CDR message

HighCVSS 7.5 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

eprosima Fast DDS is a C++ implementation of the Data Distribution Service standard of the Object Management Group. Prior to versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6, heap can be overflowed by providing a PID_PROPERTY_LIST parameter that contains a CDR string with length larger than the size of actual content. In eprosima::fastdds::dds::ParameterPropertyList_t::push_back_helper, memcpy is called to first copy the octet'ized length and then to copy the data into properties_.data. At the second memcpy, both data and size can be controlled by anyone that sends the CDR string to the discovery multicast port. This can remotely crash any Fast-DDS process. Versions 2.11.1, 2.10.2, 2.9.2, and 2.6.6 contain a patch for this issue.

Upgrade path

7 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/fastdds(Debian 12) < 2.9.1+ds-1+deb12u1; = 2.9.1+ds-1 2.9.1+ds-1+deb12u1 Fixed
debian/fastdds(Debian 13) < 2.10.1+ds-3 2.10.1+ds-3 Fixed
eProsima fast dds = 2.11.0; >= 2.6.0, < 2.6.6; >= 2.9.0, < 2.9.2; >= 2.10.0, < 2.10.2 2.6.6, 2.9.2, 2.10.2 Fixed
ubuntu/fastdds(Ubuntu 22.04) < 2.5.0+ds-3ubuntu0.1~esm1 2.5.0+ds-3ubuntu0.1~esm1 Fixed
ubuntu/fastdds(Ubuntu Pro 22.04) < 2.5.0+ds-3ubuntu0.1~esm1; = 2.1.0+ds-9; = 2.4.1+ds-1; = 2.5.0+ds-3 2.5.0+ds-3ubuntu0.1~esm1 Fixed
debian linux = 11.0; = 12.0 No fix listed Versions listed
eProsima Fast-DDS = < 2.6.6; = = 2.11.0; = >= 2.7.0, < 2.9.2; = >= 2.10.0, < 2.10.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/fastdds(Debian:12) < 2.9.1+ds-1+deb12u1 2.9.1+ds-1+deb12u1
debian/fastdds(Debian:12) = 2.9.1+ds-1 No fix listed
debian/fastdds(Debian:13) < 2.10.1+ds-3 2.10.1+ds-3
eProsima Fast-DDS = < 2.6.6 No fix listed
eProsima Fast-DDS = >= 2.7.0, < 2.9.2 No fix listed
eProsima Fast-DDS = >= 2.10.0, < 2.10.2 No fix listed
eProsima Fast-DDS = = 2.11.0 No fix listed
ubuntu/fastdds(Ubuntu:22.04) < 2.5.0+ds-3ubuntu0.1~esm1 2.5.0+ds-3ubuntu0.1~esm1
eProsima fast dds >= 2.6.0, < 2.6.6 2.6.6
eProsima fast dds >= 2.9.0, < 2.9.2 2.9.2
eProsima fast dds >= 2.10.0, < 2.10.2 2.10.2
eProsima fast dds = 2.11.0 No fix listed
debian linux = 11.0 No fix listed
debian linux = 12.0 No fix listed
ubuntu/fastdds(Ubuntu:Pro:22.04) < 2.5.0+ds-3ubuntu0.1~esm1 2.5.0+ds-3ubuntu0.1~esm1
ubuntu/fastdds(Ubuntu:Pro:22.04) = 2.1.0+ds-9 No fix listed
ubuntu/fastdds(Ubuntu:Pro:22.04) = 2.4.1+ds-1 No fix listed
ubuntu/fastdds(Ubuntu:Pro:22.04) = 2.5.0+ds-3 No fix listed

References