CVE-2024-6874: macidn punycode buffer overread

Published Jul 24, 2024
·
Updated

cURL libcurl could allow a remote attacker to obtain sensitive information, caused by a macidn punycode buffer overread flaw in the URL API function curlurlget(). By sending a specially crafted request, an attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.

Other sources

libcurl's URL API function curlurlget() offers punycode conversions, to and from IDN. Asking to convert a name that is exactly 256 bytes, libcurl ends up reading outside of a stack based buffer when built to use the macidn IDN backend. The conversion function then fills up the provided buffer exactly - but does not null terminate the string.

This flaw can lead to stack contents accidently getting returned as part of the converted string.

MITRE

Affected Software

5 affected componentsFixes available
haxx libcurl=8.8.0
IBM Storage Protect Backup-Archive Client<=8.1.0.0 - 8.1.23.0
Microsoft azl3 curl 8.8.0-1
Microsoft azl3 cmake 3.30.3-2
Microsoft cbl2 curl 8.8.0-1

Event History

Jul 24, 2024
CVE Published
via MITRE·07:36 AM
Data Sourced
via MITRE·07:36 AM
DescriptionWeakness
Oct 1, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

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-2024-6874?

CVE-2024-6874 has been classified as a medium severity vulnerability due to its potential to expose sensitive information.

2

How do I fix CVE-2024-6874?

To fix CVE-2024-6874, update libcurl to version 8.8.1 or later, or upgrade IBM Storage Protect Backup-Archive Client to version 8.1.24 or higher.

3

What type of vulnerability is CVE-2024-6874?

CVE-2024-6874 is a buffer overread vulnerability affecting the URL API function in libcurl.

4

Who is affected by CVE-2024-6874?

CVE-2024-6874 affects libcurl version 8.8.0 and IBM Storage Protect Backup-Archive Client versions 8.1.0.0 to 8.1.23.0.

5

What can an attacker achieve by exploiting CVE-2024-6874?

An attacker exploiting CVE-2024-6874 can obtain sensitive information by crafting a specific request.

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