The Curl Project Curl vulnerabilities
15 vulnerabilities
Known vulnerabilities in The Curl Project Curl, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2019-3823the curl project · curl +9 morethe curl project curllibcurl versions from 7.34.0 to before 7.64.0 are vulnerable to a heap out-of-bounds read in the code handling the end-of-response for SMTP. If the buffer passed to `smtp_endofresp()` isn't NUL terminated and contains no character ending the parsed number, and `len` is set to 5, then the `strtol()` call reads beyond the allocated buffer. The read contents will not be returned to the caller.CVSS7.5HighEPSS4.15%PrioritiseCVE-2019-3822the curl project · curl +18 morethe curl project curllibcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The function creating an outgoing NTLM type-3 header (`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`), generates the request HTTP header contents based on previously received data. The check that exists to prevent the local buffer from getting overflowed is implemented wrongly (using unsigned math) and as such it does not prevent the overflow from happening. This output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by the malicious or broken HTTP server. Such a 'large value' needs to be around 1000 bytes or more. The actual payload data copied to the target buffer comes from the NTLMv2 type-2 response header.CVSS9.8CriticalEPSS13.22%RoutineCVE-2018-16890the curl project · curl +12 morethe curl project curllibcurl versions from 7.36.0 to before 7.64.0 is vulnerable to a heap buffer out-of-bounds read. The function handling incoming NTLM type-2 messages (`lib/vauth/ntlm.c:ntlm_decode_type2_target`) does not validate incoming data correctly and is subject to an integer overflow vulnerability. Using that overflow, a malicious or broken NTLM server could trick libcurl to accept a bad length + offset combination that would lead to a buffer read out-of-bounds.CVSS7.5HighEPSS5.39%RoutineCVE-2018-16840the curl project · curl +5 morethe curl project curlA heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the `Curl_close()` function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.CVSS9.8CriticalEPSS3.43%RoutineCVE-2016-8625the curl project · curl +4 morethe curl project curlcurl before version 7.51.0 uses outdated IDNA 2003 standard to handle International Domain Names and this may lead users to potentially and unknowingly issue network transfer requests to the wrong host.CVSS7.5HighEPSS4.32%RoutineCVE-2016-8623the curl project · curl +4 morethe curl project curlA flaw was found in curl before version 7.51.0. The way curl handles cookies permits other threads to trigger a use-after-free leading to information disclosure.CVSS7.5HighEPSS2.55%RoutineCVE-2016-8620the curl project · curl +4 morethe curl project curlThe 'globbing' feature in curl before version 7.51.0 has a flaw that leads to integer overflow and out-of-bounds read via user controlled input.CVSS9.8CriticalEPSS4.67%RoutineCVE-2016-8619the curl project · curl +4 morethe curl project curlThe function `read_data()` in security.c in curl before version 7.51.0 is vulnerable to memory double free.CVSS9.8CriticalEPSS4.99%RoutineCVE-2016-8616the curl project · curl +4 morethe curl project curlA flaw was found in curl before version 7.51.0 When re-using a connection, curl was doing case insensitive comparisons of user name and password with the existing connections. This means that if an unused connection with proper credentials exists for a protocol that has connection-scoped credentials, an attacker can cause that connection to be reused if s/he knows the case-insensitive version of the correct password.CVSS5.9MediumEPSS3.35%RoutineCVE-2016-8615the curl project · curl +4 morethe curl project curlA flaw was found in curl before version 7.51. If cookie state is written into a cookie jar file that is later read back and used for subsequent requests, a malicious HTTP server can inject new cookies for arbitrary domains into said cookie jar.CVSS7.5HighEPSS4.72%RoutineCVE-2016-8621the curl project · curl +4 morethe curl project curlThe `curl_getdate` function in curl before version 7.51.0 is vulnerable to an out of bounds read if it receives an input with one digit short.CVSS7.5HighEPSS4.82%RoutineCVE-2016-8617the curl project · curl +4 morethe curl project curlThe base64 encode function in curl before version 7.51.0 is prone to a buffer being under allocated in 32bit systems if it receives at least 1Gb as input via `CURLOPT_USERNAME`.CVSS7.0HighEPSS0.59%RoutineCVE-2016-8624the curl project · curl +4 morethe curl project curlcurl before version 7.51.0 doesn't parse the authority component of the URL correctly when the host name part ends with a '#' character, and could instead be tricked into connecting to a different host. This may have security implications if you for example use an URL parser that follows the RFC to check for allowed domains before using curl to request them.CVSS7.5HighEPSS6.25%RoutineCVE-2016-8622the curl project · curl +4 morethe curl project curlThe URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.CVSS9.8CriticalEPSS4.67%RoutineCVE-2016-8618the curl project · curl +4 morethe curl project curlThe libcurl API function called `curl_maprintf()` before version 7.51.0 can be tricked into doing a double-free due to an unsafe `size_t` multiplication, on systems using 32 bit `size_t` variables.CVSS9.8CriticalEPSS4.57%