CVE-2021-3466: Buffer Overflow

Published Mar 15, 2021
·
Updated

A flaw was found in libmicrohttpd. A missing bounds check in the postprocessurlencoded function leads to a buffer overflow, allowing a remote attacker to write arbitrary data in an application that uses libmicrohttpd. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. Only version 0.9.70 is vulnerable.

Other sources

libmicrohttpd 0.9.70 contains a buffer overflow issue in URL parser implemented in the postprocessurlencoded function.

References:

https://git.gnunet.org/libmicrohttpd.git/commit/?id=a110ae6276660bee3caab30e9ff3f12f85cf3241 https://git.gnunet.org/libmicrohttpd.git/diff/src/microhttpd/postprocessor.c?id=a110ae6276660bee3caab30e9ff3f12f85cf3241 https://git.gnunet.org/libmicrohttpd.git/diff/src/microhttpd/testpostprocessor.c?id=a110ae6276660bee3caab30e9ff3f12f85cf3241

Red Hat

Affected Software

8 affected componentsFixes available
redhat/libmicrohttpd<0.9.71
0.9.71
GNU libmicrohttpd=0.9.70
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libmicrohttpd to a version that resolves this vulnerability.

    Fixed in 0.9.71
  2. Compensating control

    If you cannot immediately patch libmicrohttpd, restrict network access to any application that uses libmicrohttpd to trusted clients only to reduce exposure to remote attackers who can exploit the buffer overflow in post_process_urlencoded.

Event History

Mar 25, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-3466?

CVE-2021-3466 has a high severity rating due to the potential buffer overflow that can compromise data confidentiality.

2

How do I fix CVE-2021-3466?

To fix CVE-2021-3466, update libmicrohttpd to version 0.9.71 or later.

3

Which versions of libmicrohttpd are affected by CVE-2021-3466?

CVE-2021-3466 affects libmicrohttpd versions 0.9.70 and earlier.

4

What types of applications are at risk due to CVE-2021-3466?

Applications that use vulnerable versions of libmicrohttpd are at risk from CVE-2021-3466.

5

Is CVE-2021-3466 related to any specific operating systems?

Yes, CVE-2021-3466 impacts Red Hat Enterprise Linux and Fedora operating systems running affected versions of libmicrohttpd.

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