CVE-2012-0840: Input Validation

Published Feb 10, 2012
·
Updated

Apache APR is vulnerable to a denial of service, caused by insufficient randomization of hash data structures. By sending multiple specially-crafted HTTP POST requests to an affected application containing conflicting hash key values, a remote attacker could exploit this vulnerability to cause the consumption of CPU resources.

Other sources

tables/aprhash.c in the Apache Portable Runtime (APR) library through 1.4.5 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table.

Affected Software

38 affected components
Apache Portable Runtime<=1.4.5
Apache Portable Runtime=0.9.1
Apache Portable Runtime=0.9.2
Apache Portable Runtime=0.9.2-dev
Apache Portable Runtime=0.9.3
Apache Portable Runtime=0.9.3-dev
Apache Portable Runtime=0.9.4
Apache Portable Runtime=0.9.5
Apache Portable Runtime=0.9.6
Apache Portable Runtime=0.9.7
Apache Portable Runtime=0.9.7-dev
Apache Portable Runtime=0.9.8
Apache Portable Runtime=0.9.9
Apache Portable Runtime=0.9.16-dev
Apache Portable Runtime=1.3.0
Apache Portable Runtime=1.3.1
Apache Portable Runtime=1.3.2
Apache Portable Runtime=1.3.3
Apache Portable Runtime=1.3.4
Apache Portable Runtime=1.3.4-dev
Apache Portable Runtime=1.3.5
Apache Portable Runtime=1.3.6
Apache Portable Runtime=1.3.6-dev
Apache Portable Runtime=1.3.7
Apache Portable Runtime=1.3.8
Apache Portable Runtime=1.3.9
Apache Portable Runtime=1.3.10
Apache Portable Runtime=1.3.11
Apache Portable Runtime=1.3.12
Apache Portable Runtime=1.3.13
Apache Portable Runtime=1.4.0
Apache Portable Runtime=1.4.1
Apache Portable Runtime=1.4.2
Apache Portable Runtime=1.4.3
Apache Portable Runtime=1.4.4
IBM Engineering Requirements Management DOORS<=9.7.2.8
IBM Engineering Requirements Management DOORS Web Access<=9.7.2.8
IBM IBM® Rational DOORS/DOORS Web Access<=9.6.1.x

Event History

Feb 10, 2012
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

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-0840?

CVE-2012-0840 is classified as a high severity vulnerability due to its potential for causing a denial of service.

2

How do I fix CVE-2012-0840?

To fix CVE-2012-0840, upgrade to a patched version of Apache Portable Runtime newer than 1.4.5.

3

Which versions of Apache Portable Runtime are affected by CVE-2012-0840?

CVE-2012-0840 affects Apache Portable Runtime versions up to and including 1.4.5 and specific 0.9.x versions.

4

Can CVE-2012-0840 be exploited remotely?

Yes, CVE-2012-0840 can be exploited remotely by sending specially-crafted HTTP POST requests.

5

What type of attack does CVE-2012-0840 enable?

CVE-2012-0840 enables a denial of service attack due to insufficient randomization of hash data structures.

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