p PatchFirst

PatchFirst · Latest vulnerabilities

curl vulnerabilities · Page 4

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 138

  1. ALPINE-CVE-2022-35252

    Low · CVSS 3.7Fix available

    ALPINE-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.85.0-r0
    Published Updated
  2. ALPINE-CVE-2022-32208

    Medium · CVSS 5.9Fix available

    ALPINE-CVE-2022-32208

    When curl < 7.84.0 does FTP transfers secured by krb5, it handles message verification failures wrongly. This flaw makes it possible for a Man-In-The-Middle attack to go unnoticed and even allows it to inject data to the client.

    • Update to 7.84.0-r0
    Published Updated
  3. ALPINE-CVE-2022-32207

    Critical · CVSS 9.8Fix available

    ALPINE-CVE-2022-32207

    When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally *widen* the permissions for the target file, leaving the updated file accessible to more users than intended.

    • Update to 7.84.0-r0
    Published Updated
  4. ALPINE-CVE-2022-32206

    Medium · CVSS 6.5Fix available

    ALPINE-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.84.0-r0
    Published Updated
  5. ALPINE-CVE-2022-32205

    Medium · CVSS 4.3Fix available

    ALPINE-CVE-2022-32205

    A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers to which the cookies match, create requests that become larger than the threshold that curl uses internally to avoid sending crazy large requests (1048576 bytes) and instead returns an error.This denial state might remain for as long as the same cookies are kept, match and haven't expired. Due to cookie matching rules, a server on `foo.example.com` can set cookies that also would match for `bar.example.com`,

    • Update to 7.84.0-r0
    Published Updated
  6. ALPINE-CVE-2022-30115

    Medium · CVSS 4.3Fix available

    ALPINE-CVE-2022-30115

    Using its HSTS support, curl can be instructed to use HTTPS directly insteadof using an insecure clear-text HTTP step even when HTTP is provided in theURL. This mechanism could be bypassed if the host name in the given URL used atrailing dot while not using one when it built the HSTS cache. Or the otherway around - by having the trailing dot in the HSTS cache and *not* using thetrailing dot in the URL.

    • Update to 7.83.1-r0
    Published Updated
  7. ALPINE-CVE-2022-27782

    High · CVSS 7.5Fix available

    ALPINE-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.83.1-r0
    Published Updated
  8. ALPINE-CVE-2022-27781

    High · CVSS 7.5Fix available

    ALPINE-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.83.1-r0
    Published Updated
  9. ALPINE-CVE-2022-27780

    High · CVSS 7.5Fix available

    ALPINE-CVE-2022-27780

    The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, making it a *different* URL usingthe wrong host name when it is later retrieved.For example, a URL like `http://example.com%2F127.0.0.1/`, would be allowed bythe parser and get transposed into `http://example.com/127.0.0.1/`. This flawcan be used to circumvent filters, checks and more.

    • Update to 7.83.1-r0
    Published Updated
  10. ALPINE-CVE-2022-27779

    Medium · CVSS 5.3Fix available

    ALPINE-CVE-2022-27779

    libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided with a trailing dot.curl can be told to receive and send cookies. curl's "cookie engine" can bebuilt with or without [Public Suffix List](https://publicsuffix.org/)awareness. If PSL support not provided, a more rudimentary check exists to atleast prevent cookies from being set on TLDs. This check was broken if thehost name in the URL uses a trailing dot.This can allow arbitrary sites to set cookies that then would get sent to adifferent and unrelated site or domain.

    • Update to 7.83.1-r0
    Published Updated
  11. ALPINE-CVE-2022-27774

    Medium · CVSS 5.7Fix available

    ALPINE-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.83.0-r0
    Published Updated
  12. ALPINE-CVE-2022-22576

    High · CVSS 8.1Fix available

    ALPINE-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.83.0-r0
    Published Updated
  13. ALPINE-CVE-2021-22947

    Medium · CVSS 5.9Fix available

    ALPINE-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.79.0-r0
    Published Updated
  14. ALPINE-CVE-2021-22946

    High · CVSS 7.5Fix available

    ALPINE-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.79.0-r0
    Published Updated
  15. ALPINE-CVE-2021-22945

    Critical · CVSS 9.1Fix available

    ALPINE-CVE-2021-22945

    When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*.

    • Update to 7.79.0-r0
    Published Updated
  16. ALPINE-CVE-2021-22925

    Medium · CVSS 5.3Fix available

    ALPINE-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.78.0-r0
    Published Updated
  17. ALPINE-CVE-2021-22924

    Low · CVSS 3.7Fix available

    ALPINE-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.78.0-r0
    Published Updated

Check your server

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

Check your server →