CVE-2012-4460: Buffer Overflow

Published Sep 27, 2012
·
Updated

The low-level serializing/deserializing methods (putOctet, getOctet and so on) in the qpid::framing::Buffer class do not perform bounds checks before the operation. Instead, there is an assert after the operation which fails on out-of-bounds access.

If asserts are enabled, this results in a pre-authentication denial-of-service vulnerability. Red Hat builds disable asserts, so they are not affected by this vulnerability. Examining the protocol decoders showed that the read overrun is limited to very few bytes because all the large types perform proper length checking (so it seems impossible that an unmapped page can be reached and cause a crash). Regarding write overruns, there is a check of the buffer size against the encoded size (which is conceptually not possible for the read case), so there should not be any write buffer overrun, assuming that the encoded size account is completely correct.

The suggestion is to remove the asserts from putOctet/getOctet etc. and replace them with bounds checks which throw exceptions on failure.

Acknowledgements:

This issue was discovered by Florian Weimer of the Red Hat Product Security Team.

Other sources

The serializing/deserializing functions in the qpid::framing::Buffer class in Apache Qpid 0.20 and earlier allow remote attackers to cause a denial of service (assertion failure and daemon exit) via unspecified vectors. NOTE: this issue could also trigger an out-of-bounds read, but it might not trigger a crash.

MITRE

Affected Software

16 affected components
Apache qpid<=0.20
Apache qpid=0.5
Apache qpid=0.6
Apache qpid=0.7
Apache qpid=0.8
Apache qpid=0.9
Apache qpid=0.10
Apache qpid=0.11
Apache qpid=0.12
Apache qpid=0.13
Apache qpid=0.14
Apache qpid=0.15
Apache qpid=0.16
Apache qpid=0.17
Apache qpid=0.18
Apache qpid=0.19

Event History

Sep 27, 2012
Data Sourced
10:09 PM
DescriptionSeverityAffected Software
Mar 12, 2013
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-4460?

CVE-2012-4460 has a medium severity level due to potential out-of-bounds access leading to application crashes.

2

How do I fix CVE-2012-4460?

To fix CVE-2012-4460, update Apache Qpid to a version greater than 0.20, as it addresses the bounds check issues.

3

Which versions of Apache Qpid are affected by CVE-2012-4460?

CVE-2012-4460 affects Apache Qpid versions from 0.5 to 0.20 and includes various releases in between.

4

What can happen if CVE-2012-4460 is exploited?

Exploitation of CVE-2012-4460 can lead to application crashes and potentially allow for denial-of-service conditions.

5

Are there any workarounds for CVE-2012-4460?

Currently, the best workaround for CVE-2012-4460 is to disable asserts, although this is not a permanent solution and updating is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203