Lucene search

K
nvd2499f714-1537-4658-8207-48ae4bb9eae9NVD:CVE-2024-6874
HistoryJul 24, 2024 - 8:15 a.m.

CVE-2024-6874

2024-07-2408:15:03
CWE-125
2499f714-1537-4658-8207-48ae4bb9eae9
web.nvd.nist.gov
18
libcurl
url api
stack buffer overflow
punycode
idn
conversion
stack contents

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS

0.001

Percentile

35.1%

libcurl’s URL API function
curl_url_get() 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.

Affected configurations

Nvd
Node
haxxlibcurlMatch8.8.0
VendorProductVersionCPE
haxxlibcurl8.8.0cpe:2.3:a:haxx:libcurl:8.8.0:*:*:*:*:*:*:*

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS

0.001

Percentile

35.1%