p PatchFirst

PatchFirst · Latest vulnerabilities

curl vulnerabilities

Vulnerabilities published for curl in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 42

  1. CVE-2023-27538

    High · CVSS 7.7EPSS 1.45%Fix available

    CVE-2023-27538

    An authentication bypass vulnerability exists in libcurl prior to v8.0.0 where it reuses a previously established SSH connection despite the fact that an SSH option was modified, which should have prevented reuse. libcurl maintains a pool of previously used connections to reuse them for subsequent transfers if the configurations match. However, two SSH settings were omitted from the configuration check, allowing them to match easily, potentially leading to the reuse of an inappropriate connection.

    • Update to 7.58.0-2ubuntu3.24
    Published Updated
  2. CVE-2023-27536

    Medium · CVSS 5.9EPSS 1.76%Fix available

    CVE-2023-27536

    An authentication bypass vulnerability exists libcurl <8.0.0 in the connection reuse feature which can reuse previously established connections with incorrect user permissions due to a failure to check for changes in the CURLOPT_GSSAPI_DELEGATION option. This vulnerability affects krb5/kerberos/negotiate/GSSAPI transfers and could potentially result in unauthorized access to sensitive information. The safest option is to not reuse connections if the CURLOPT_GSSAPI_DELEGATION option has been changed.

    • Update to 7.58.0-2ubuntu3.24
    Published Updated
  3. CVE-2023-27535

    Medium · CVSS 5.9EPSS 1.8%Fix available

    CVE-2023-27535

    An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can result in wrong credentials being used during subsequent transfers. Previously created connections are kept in a connection pool for reuse if they match the current setup. However, certain FTP settings such as CURLOPT_FTP_ACCOUNT, CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_FTP_SSL_CCC, and CURLOPT_USE_SSL were not included in the configuration match checks, causing them to match too easily. This could lead to libcurl using the wrong credentials when performing a transfer, potentially allowing unauthorized access to sensitive information.

    • Update to 7.58.0-2ubuntu3.24
    Published Updated
  4. CVE-2023-27534

    High · CVSS 8.8EPSS 2.44%Fix available

    CVE-2023-27534

    A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly replaced when used as a prefix in the first path element, in addition to its intended use as the first element to indicate a path relative to the user's home directory. Attackers can exploit this flaw to bypass filtering or execute arbitrary code by crafting a path like /~2/foo while accessing a server with a specific user.

    • Update to 7.58.0-2ubuntu3.24
    Published Updated
  5. CVE-2023-27533

    Critical · CVSS 9.8EPSS 2.16%Fix available

    CVE-2023-27533

    A vulnerability in input validation exists in curl <8.0 during communication using the TELNET protocol may allow an attacker to pass on maliciously crafted user name and "telnet options" during server negotiation. The lack of proper input scrubbing allows an attacker to send content or perform option negotiation without the application's intent. This vulnerability could be exploited if an application allows user input, thereby enabling attackers to execute arbitrary code on the system.

    • Update to 7.58.0-2ubuntu3.24
    Published Updated
  6. CVE-2023-23916

    Medium · CVSS 6.5EPSS 1.74%Fix available

    CVE-2023-23916

    An allocation of resources without limits or throttling vulnerability exists in curl <v7.88.0 based on the "chained" HTTP compression algorithms, meaning that a server response can be compressed multiple times and potentially with differentalgorithms. The number of acceptable "links" in this "decompression chain" wascapped, but the cap was implemented on a per-header basis allowing a maliciousserver to insert a virtually unlimited number of compression steps simply byusing many headers. The use of such a decompression chain could result in a "malloc bomb", making curl end up spending enormous amounts of allocated heap memory, or trying to and

    • Update to 7.58.0-2ubuntu3.23
    Published Updated
  7. CVE-2022-43552

    Medium · CVSS 5.9EPSS 2.71%Fix available

    CVE-2022-43552

    A use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it supports through an HTTP proxy. HTTP proxies can (and often do) deny such tunnel operations. When getting denied to tunnel the specific protocols SMB or TELNET, curl would use a heap-allocated struct after it had been freed, in its transfer shutdown code path.

    • Update to 7.58.0-2ubuntu3.22
    Published Updated
  8. CVE-2022-32221

    Critical · CVSS 9.8EPSS 5.09%Fix available

    CVE-2022-32221

    When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the subsequent `POST` request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST.

    • Update to 7.58.0-2ubuntu3.21
    Published Updated
  9. CVE-2022-35252

    Low · CVSS 3.7EPSS 3.84%Fix available

    CVE-2022-35252

    When curl is used to retrieve and parse cookies from a HTTP(S) server, itaccepts cookies using control codes that when later are sent back to a HTTPserver might make the server return 400 responses. Effectively allowing a"sister site" to deny service to all siblings.

    • Update to 7.58.0-2ubuntu3.20
    Published Updated
  10. CVE-2022-32206

    Medium · CVSS 6.5EPSS 36.35%Fix available

    CVE-2022-32206

    curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple times and potentially with different algorithms. The number of acceptable "links" in this "decompression chain" was unbounded, allowing a malicious server to insert a virtually unlimited number of compression steps.The use of such a decompression chain could result in a "malloc bomb", makingcurl end up spending enormous amounts of allocated heap memory, or trying toand returning out of memory errors.

    • Update to 7.58.0-2ubuntu3.19
    Published Updated
  11. CVE-2022-27782

    High · CVSS 7.5EPSS 3.09%Fix available

    CVE-2022-27782

    libcurl would reuse a previously created connection even when a TLS or SSHrelated option had been changed that should have prohibited reuse.libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse if one of them matches the setup. However, several TLS andSSH settings were left out from the configuration match checks, making themmatch too easily.

    • Update to 7.58.0-2ubuntu3.18
    Published Updated
  12. CVE-2022-27781

    High · CVSS 7.5EPSS 2.9%Fix available

    CVE-2022-27781

    libcurl provides the `CURLOPT_CERTINFO` option to allow applications torequest details to be returned about a server's certificate chain.Due to an erroneous function, a malicious server could make libcurl built withNSS get stuck in a never-ending busy-loop when trying to retrieve thatinformation.

    • Update to 7.58.0-2ubuntu3.18
    Published Updated
  13. CVE-2022-27774

    Medium · CVSS 5.7EPSS 2.01%Fix available

    CVE-2022-27774

    An insufficiently protected credentials vulnerability exists in curl 4.9 to and include curl 7.82.0 are affected that could allow an attacker to extract credentials when follows HTTP(S) redirects is used with authentication could leak credentials to other services that exist on different protocols or port numbers.

    • Update to 7.58.0-2ubuntu3.17
    Published Updated
  14. CVE-2022-22576

    High · CVSS 8.1EPSS 2.52%Fix available

    CVE-2022-22576

    An improper authentication vulnerability exists in curl 7.33.0 to and including 7.82.0 which might allow reuse OAUTH2-authenticated connections without properly making sure that the connection was authenticated with the same credentials as set for this transfer. This affects SASL-enabled protocols: SMPTP(S), IMAP(S), POP3(S) and LDAP(S) (openldap only).

    • Update to 7.58.0-2ubuntu3.17
    Published Updated
  15. CVE-2021-22947

    Medium · CVSS 5.9EPSS 3.01%Fix available

    CVE-2021-22947

    When curl >= 7.20.0 and <= 7.78.0 connects to an IMAP or POP3 server to retrieve data using STARTTLS to upgrade to TLS security, the server can respond and send back multiple responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached responses but instead continue using and trustingthe responses it got *before* the TLS handshake as if they were authenticated.Using this flaw, it allows a Man-In-The-Middle attacker to first inject the fake responses, then pass-through the TLS traffic from the legitimate server and trick curl into sending data back to the user thinking the attacker's injected data com

    • Update to 7.58.0-2ubuntu3.15
    Published Updated
  16. CVE-2021-22946

    High · CVSS 7.5EPSS 4.54%Fix available

    CVE-2021-22946

    A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (`--ssl-reqd` on the command line or`CURLOPT_USE_SSL` set to `CURLUSESSL_CONTROL` or `CURLUSESSL_ALL` withlibcurl). This requirement could be bypassed if the server would return a properly crafted but perfectly legitimate response.This flaw would then make curl silently continue its operations **withoutTLS** contrary to the instructions and expectations, exposing possibly sensitive data in clear text over the network.

    • Update to 7.58.0-2ubuntu3.15
    Published Updated
  17. CVE-2021-22924

    Low · CVSS 3.7EPSS 6.27%Fix available

    CVE-2021-22924

    libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.

    • Update to 7.58.0-2ubuntu3.14
    Published Updated
  18. CVE-2021-22925

    Medium · CVSS 5.3EPSS 5.37%Fix available

    CVE-2021-22925

    curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending `NEW_ENV` variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.

    • Update to 7.58.0-2ubuntu3.14
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →