Skip to content
OpenAdvisories

Package · Alpine

curl

196 known vulnerabilities.

62 results · Clear filters · Feed

  • Medium 6.5

    wrong reuse for different services

    libcurl might in some circumstances reuse the wrong connection when asked to do Negotiate-authenticated ones, even when they are set to use different "services". libcurl features a pool of recent connections so that subsequent requests can reuse an existing c…

  • Medium 5.3

    cross-proxy Digest auth state leak

    Successfully using libcurl to do a transfer over a specific HTTP proxy (`proxyA`) with **Digest** authentication and then changing the proxy host to a second one (`proxyB`) for a second transfer, reusing the same handle, makes libcurl wrongly pass on the `Pro…

  • Medium 5.3

    OCSP stapling bypass with Apple SecTrust

    When curl is told to use the Certificate Status Request TLS extension, often referred to as *OCSP stapling*, to verify that the server certificate is valid, it fails to detect OCSP problems and instead wrongly consider the response as fine.

  • Medium 5.3

    netrc credential leak with reused proxy connection

    When asked to both use a `.netrc` file for credentials and to follow HTTP redirects, libcurl could leak the password used for the first host to the followed-to host under certain circumstances.

  • Medium 5.9

    proxy credentials leak over redirect-to proxy

    curl might erroneously pass on credentials for a first proxy to a second proxy. This can happen when the following conditions are true: 1. curl is setup to use specific different proxies for different URL schemes 2. the first proxy needs credentials 3. the se…

  • Medium 6.5

    wrong reuse of HTTP Negotiate connection

    libcurl might in some circumstances reuse the wrong connection when asked to do an authenticated HTTP(S) request after a Negotiate-authenticated one, when both use the same host. libcurl features a pool of recent connections so that subsequent requests can re…

  • Medium 5.9

    connection reuse ignores TLS requirement

    A vulnerability exists where a connection requiring TLS incorrectly reuses an existing unencrypted connection from the same connection pool. If an initial transfer is made in clear-text (via IMAP, SMTP, or POP3), a subsequent request to that same host bypasse…

  • Medium 6.5

    wrong proxy connection reuse with credentials

    curl would wrongly reuse an existing HTTP proxy connection doing CONNECT to a server, even if the new request uses different credentials for the HTTP proxy. The proper behavior is to create or use a separate connection.

  • Medium 5.3

    token leak with redirect and netrc

    When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a redirect to a second URL, curl could leak that token to the second hostname under some circumstances. If the hostname that the first request is redirected to has informa…

  • Medium 6.5

    bad reuse of HTTP Negotiate connection

    libcurl can in some circumstances reuse the wrong connection when asked to do an Negotiate-authenticated HTTP or HTTPS request. libcurl features a pool of recent connections so that subsequent requests can reuse an existing connection to avoid overhead. When …

  • Medium 5.3

    OpenSSL partial chain store policy bypass

    When doing TLS related transfers with reused easy or multi handles and altering the `CURLSSLOPT_NO_PARTIALCHAIN` option, libcurl could accidentally reuse a CA store cached in memory for which the partial chain option was reversed. Contrary to the user's wishe…

  • Medium 5.3

    bearer token leak on cross-protocol redirect

    When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a cross-protocol redirect to a second URL that uses an IMAP, LDAP, POP3 or SMTP scheme, curl might wrongly pass on the bearer token to the new target host.

  • Medium 6.3

    broken TLS options for threaded LDAPS

    When doing multi-threaded LDAPS transfers (LDAP over TLS) with libcurl, changing TLS options in one thread would inadvertently change them globally and therefore possibly also affect other concurrently setup transfers. Disabling certificate verification for a…

  • Medium 5.9

    No QUIC certificate pinning with GnuTLS

    When using `CURLOPT_PINNEDPUBLICKEY` option with libcurl or `--pinnedpubkey` with the curl tool, curl should check the public key of the server certificate to verify the peer. This check was skipped in a certain condition that would then make curl allow the c…

  • Medium 4.3

    missing SFTP host verification with wolfSSH

    curl's code for managing SSH connections when SFTP was done using the wolfSSH powered backend was flawed and missed host verification mechanisms. This prevents curl from detecting MITM attackers and more.

  • Medium 5.3

    predictable WebSocket mask

    curl's WebSocket code did not update the 32-bit mask pattern for each new outgoing frame as the specification says. Instead it used a fixed mask that persisted and was used throughout the entire connection. A predictable mask pattern allows for a malicious se…

  • Medium 4.8
    CVE-2025-5025 Public exploit

    No QUIC certificate pinning with wolfSSL

    libcurl supports *pinning* of the server certificate public key for HTTPS transfers. Due to an omission, this check is not performed when connecting with QUIC for HTTP/3, when the TLS backend is wolfSSL. Documentation says the option works with wolfSSL, faili…

  • Medium 6.5

    QUIC certificate check skip with wolfSSL

    libcurl accidentally skips the certificate verification for QUIC connections when connecting to a host specified as an IP address in the URL. Therefore, it does not detect impostors or man-in-the-middle attacks.

  • Medium 5.9

    HSTS subdomain overwrites parent cache entry

    When curl is asked to use HSTS, the expiry time for a subdomain might overwrite a parent domain's cache entry, making it end sooner or later than otherwise intended. This affects curl using applications that enable HSTS and use URLs with the insecure `HTTP://…

  • Medium 6.5

    OCSP stapling bypass with GnuTLS

    When curl is told to use the Certificate Status Request TLS extension, often referred to as OCSP stapling, to verify that the server certificate is valid, it might fail to detect some OCSP problems and instead wrongly consider the response as fine. If the ret…

  • Medium 6.3
    CVE-2024-7264 EPSS 20%

    ASN.1 date parser overread

    libcurl's ASN1 parser code has the `GTime2str()` function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the *time fraction*, leading to a `strlen()` getting per…

  • Medium 6.5

    TLS certificate check bypass with mbedTLS

    libcurl did not check the server certificate of TLS connections done to a host specified as an IP address, when built to use mbedTLS. libcurl would wrongly avoid using the set hostname function when the specified hostname was given as an IP address, therefore…

  • Medium 6.3

    QUIC certificate check bypass with wolfSSL

    libcurl skips the certificate verification for a QUIC connection under certain conditions, when built to use wolfSSL. If told to use an unknown/bad cipher or curve, the error path accidentally skips the verification and returns OK, thus ignoring any certifica…

  • Medium 5.3

    OCSP verification bypass with TLS session reuse

    curl inadvertently kept the SSL session ID for connections in its cache even when the verify status (*OCSP stapling*) test failed. A subsequent transfer to the same hostname could then succeed if the session ID cache was still fresh, which then skipped the ve…

  • Medium 5.3

    When saving HSTS data to an excessively long file name, curl could end up removing all contents, making subsequent requ…

  • Medium 6.5

    This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than …

  • Medium 5.9

    A denial of service vulnerability exists in curl <v8.1.0 in the way libcurl provides several different backends for res…

  • Medium 5.3

    An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously …

  • Medium 5.9

    An improper certificate validation vulnerability exists in curl <v8.1.0 in the way it supports matching of wildcard pat…

  • Medium 5.9

    An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can result in …

  • Medium 5.9

    An authentication bypass vulnerability exists libcurl <8.0.0 in the connection reuse feature which can reuse previously…

  • Medium 6.5

    A cleartext transmission of sensitive information vulnerability exists in curl <v7.88.0 that could cause HSTS functiona…

  • Medium 6.5

    An allocation of resources without limits or throttling vulnerability exists in curl <v7.88.0 based on the "chained" HT…

  • Medium 5.9

    A use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it support…

  • Medium 5.9

    When curl < 7.84.0 does FTP transfers secured by krb5, it handles message verification failures wrongly. This flaw make…

  • Medium 4.3
    CVE-2022-32205 EPSS 31%

    A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 st…

  • Medium 6.5
    CVE-2022-32206 EPSS 36%

    curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple …

  • Medium 5.3

    The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, m…

  • Medium 5.7

    An insufficiently protected credentials vulnerability exists in curl 4.9 to and include curl 7.82.0 are affected that c…

  • Medium 5.9

    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 …