CVE-2009-0023: Buffer Overflow

Published Jun 3, 2009
·
Updated

A heap buffer underwrite flaw was found in apr-util's aprstrmatchprecompile() function.

This flaw could allow a remote attacker to overwrite arbitrary heap memory.

The upstream fix is here: http://svn.apache.org/viewvc?view=rev&revision=779880

Other sources

The aprstrmatchprecompile function in strmatch/aprstrmatch.c in Apache APR-util before 1.3.5 allows remote attackers to cause a denial of service (daemon crash) via crafted input involving (1) a .htaccess file used with the Apache HTTP Server, (2) the SVNMasterURI directive in the moddavsvn module in the Apache HTTP Server, (3) the modapreq2 module for the Apache HTTP Server, or (4) an application that uses the libapreq2 library, which triggers a heap-based buffer underflow.

MITRE

Affected Software

22 affected components
Apache apr-util=1.3.3
Apache apr-util=1.2.7
Apache apr-util=1.2.8
Apache apr-util=1.2.2
Apache apr-util=1.3.0
Apache apr-util=0.9.4
Apache apr-util=1.0.2
Apache apr-util=1.0
Apache apr-util=1.2.1
Apache apr-util=0.9.3
Apache apr-util=1.1.0
Apache apr-util=0.9.1
Apache apr-util<=1.3.4
Apache apr-util=1.3.1
Apache apr-util=0.9.2
Apache apr-util=1.3.2
Apache apr-util=1.1.1
Apache apr-util=1.1.2
Apache apr-util=1.2.6
Apache apr-util=1.0.1
Apache apr-util=0.9.5
Apache HTTP Server>=2.2.0<2.2.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade apache APR-util apr_strmatch_precompile (strmatch/apr_strmatch.c) to a version that resolves this vulnerability.

    Fixed in 1.3.5
  2. Compensating control

    Mitigate exposure by preventing remote attackers from reaching the code paths that call apr_strmatch_precompile(), such as requests involving .htaccess files, the SVNMasterURI directive in mod_dav_svn, the mod_apreq2 module, or applications using the libapreq2 library—until APR-util is upgraded to 1.3.5.

Event History

Jun 3, 2009
Data Sourced
via Red Hat·12:10 PM
DescriptionSeverityAffected Software
Jun 6, 2009
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2009-0023?

CVE-2009-0023 is classified as a high severity vulnerability due to its potential for remote exploitation.

2

How do I fix CVE-2009-0023?

To fix CVE-2009-0023, upgrade to a version of apr-util that is later than 1.3.4 or applies the relevant upstream patch.

3

Which versions of apr-util are affected by CVE-2009-0023?

CVE-2009-0023 affects apr-util versions prior to 1.3.5 and specifically includes versions from 0.9.1 to 1.3.4.

4

What type of vulnerability is CVE-2009-0023?

CVE-2009-0023 is a heap buffer underwrite flaw that could allow arbitrary memory overwrites.

5

Can CVE-2009-0023 be exploited remotely?

Yes, CVE-2009-0023 can be exploited remotely, allowing attackers to potentially take control of the vulnerable system.

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