CVE-2013-7039: Buffer Overflow

Published Dec 9, 2013
·
Updated

A stack overflow flaw was found in the MHDdigestauthcheck() function in libmicrohttpd. If MHDOPTIONCONNECTIONMEMORYLIMIT was configured to allow large allocations, a remote attacker could possibly use this flaw to cause an application using libmicrohttpd to crash or, potentially, execute arbitrary code with the privileges of the user running the application. This issue has been resolved in version 0.9.32.

References: https://gnunet.org/svn/libmicrohttpd/ChangeLog http://secunia.com/advisories/55903/ https://bugs.gentoo.org/showbug.cgi?id=493450

Acknowledgements:

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

Other sources

Stack-based buffer overflow in the MHDdigestauthcheck function in libmicrohttpd before 0.9.32, when MHDOPTIONCONNECTIONMEMORYLIMIT is set to a large value, allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long URI in an authentication header.

MITRE

Affected Software

16 affected components
GNU libmicrohttpd<=0.9.31
GNU libmicrohttpd=0.9.16
GNU libmicrohttpd=0.9.17
GNU libmicrohttpd=0.9.18
GNU libmicrohttpd=0.9.19
GNU libmicrohttpd=0.9.20
GNU libmicrohttpd=0.9.21
GNU libmicrohttpd=0.9.22
GNU libmicrohttpd=0.9.23
GNU libmicrohttpd=0.9.24
GNU libmicrohttpd=0.9.25
GNU libmicrohttpd=0.9.26
GNU libmicrohttpd=0.9.27
GNU libmicrohttpd=0.9.28
GNU libmicrohttpd=0.9.29
GNU libmicrohttpd=0.9.30

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libmicrohttpd to a version that resolves this vulnerability.

    Fixed in 0.9.32

Event History

Dec 9, 2013
Data Sourced
via Red Hat·01:56 AM
DescriptionSeverityAffected Software
Dec 13, 2013
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·06:55 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-7039?

CVE-2013-7039 has a medium severity level due to its potential to cause application crashes or arbitrary code execution.

2

How do I fix CVE-2013-7039?

To fix CVE-2013-7039, update libmicrohttpd to version 0.9.31 or later.

3

What is affected by CVE-2013-7039?

CVE-2013-7039 affects versions of libmicrohttpd up to and including 0.9.30.

4

Can CVE-2013-7039 be exploited remotely?

Yes, CVE-2013-7039 can be exploited remotely by attackers sending specially crafted requests.

5

Is there a workaround for CVE-2013-7039?

A potential workaround for CVE-2013-7039 is to restrict the MHD_OPTION_CONNECTION_MEMORY_LIMIT configuration.

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