CVE-2019-18609

NameCVE-2019-18609
DescriptionAn issue was discovered in amqp_handle_input in amqp_connection.c in rabbitmq-c 0.9.0. There is an integer overflow that leads to heap memory corruption in the handling of CONNECTION_STATE_HEADER. A rogue server could return a malicious frame header that leads to a smaller target_size value than needed. This condition is then carried on to a memcpy function that copies too much data into a heap buffer.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2022-1
NVD severityhigh
Debian Bugs946005

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
librabbitmq (PTS)jessie0.5.2-2vulnerable
jessie (security)0.5.2-2+deb8u1fixed
stretch0.8.0-1vulnerable
buster0.9.0-0.2vulnerable
bullseye, sid0.10.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librabbitmqsource(unstable)0.10.0-1low946005
librabbitmqsourcejessie0.5.2-2+deb8u1DLA-2022-1

Notes

[buster] - librabbitmq <no-dsa> (Minor issue)
[stretch] - librabbitmq <no-dsa> (Minor issue)
https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a

Search for package or bug name: Reporting problems