Search for packages
purl | pkg:generic/curl.se/curl@8.7.0 |
Vulnerability | Summary | Fixed by |
---|---|---|
VCID-1dvu-a5gy-aaah
Aliases: CVE-2024-7264 |
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 performed on a pointer to a heap buffer area that is not (purposely) null terminated. This flaw most likely leads to a crash, but can also lead to heap contents getting returned to the application when [CURLINFO_CERTINFO](https://curl.se/libcurl/c/CURLINFO_CERTINFO.html) is used. |
Affected by 7 other vulnerabilities. |
VCID-97mb-c19v-bqcx
Aliases: CVE-2025-0725 |
libcurl: Buffer Overflow in libcurl via zlib Integer Overflow |
Affected by 2 other vulnerabilities. |
VCID-a4bj-1mva-aaap
Aliases: CVE-2024-6197 |
libcurl's ASN1 parser has this utf8asn1str() function used for parsing an ASN.1 UTF-8 string. Itcan detect an invalid field and return error. Unfortunately, when doing so it also invokes `free()` on a 4 byte localstack buffer. Most modern malloc implementations detect this error and immediately abort. Some however accept the input pointer and add that memory to its list of available chunks. This leads to the overwriting of nearby stack memory. The content of the overwrite is decided by the `free()` implementation; likely to be memory pointers and a set of flags. The most likely outcome of exploting this flaw is a crash, although it cannot be ruled out that more serious results can be had in special circumstances. |
Affected by 8 other vulnerabilities. |
VCID-gw9j-gggs-t7at
Aliases: CVE-2024-11053 |
When asked to both use a `.netrc` file for credentials and to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has an entry that matches the redirect target hostname but the entry either omits just the password or omits both login and password. |
Affected by 5 other vulnerabilities. |
VCID-jxju-r4ej-ffev
Aliases: CVE-2024-9681 |
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://` scheme and perform transfers with hosts like `x.example.com` as well as `example.com` where the first host is a subdomain of the second host. (The HSTS cache either needs to have been populated manually or there needs to have been previous HTTPS accesses done as the cache needs to have entries for the domains involved to trigger this problem.) When `x.example.com` responds with `Strict-Transport-Security:` headers, this bug can make the subdomain's expiry timeout *bleed over* and get set for the parent domain `example.com` in curl's HSTS cache. The result of a triggered bug is that HTTP accesses to `example.com` get converted to HTTPS for a different period of time than what was asked for by the origin server. If `example.com` for example stops supporting HTTPS at its expiry time, curl might then fail to access `http://example.com` until the (wrongly set) timeout expires. This bug can also expire the parent's entry *earlier*, thus making curl inadvertently switch back to insecure HTTP earlier than otherwise intended. |
Affected by 5 other vulnerabilities. |
VCID-t6fs-2jn9-bfbg
Aliases: CVE-2025-0167 |
When asked to use a `.netrc` file for credentials **and** to follow HTTP redirects, curl could leak the password used for the first host to the followed-to host under certain circumstances. This flaw only manifests itself if the netrc file has a `default` entry that omits both login and password. A rare circumstance. |
Affected by 2 other vulnerabilities. |
VCID-w4x7-57vc-7yh7
Aliases: CVE-2024-8096 |
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 returned status reports another error than 'revoked' (like for example 'unauthorized') it is not treated as a bad certficate. |
Affected by 6 other vulnerabilities. |
VCID-yfzf-g3sh-ubf5
Aliases: CVE-2025-5025 |
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, failing to specify that it does not for QUIC and HTTP/3. Since pinning makes the transfer succeed if the pin is fine, users could unwittingly connect to an impostor server without noticing. |
Affected by 1 other vulnerability. |
Vulnerability | Summary | Aliases |
---|---|---|
VCID-1ard-hhvx-aaab | When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been explicitly disabled. curl --proto -all,-http http://curl.se The flaw is only present if the set of selected protocols disables the entire set of available protocols, in itself a command with no practical use and therefore unlikely to be encountered in real situations. The curl security team has thus assessed this to be low severity bug. |
CVE-2024-2004
|
VCID-gvnm-3697-aaap | When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application. |
CVE-2024-2398
|
VCID-tvd6-vm9d-aaap | 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 completely skipping the certificate check. This affects all uses of TLS protocols (HTTPS, FTPS, IMAPS, POPS3, SMTPS, etc). |
CVE-2024-2466
|
VCID-vnx7-5dem-aaaj | 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 certificate problems. |
CVE-2024-2379
|
Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
---|---|---|---|---|---|
2025-05-28T20:09:44.885450+00:00 | Curl Importer | Affected by | VCID-yfzf-g3sh-ubf5 | https://curl.se/docs/CVE-2025-5025.json | 36.0.0 |
2025-03-28T13:43:16.622531+00:00 | Curl Importer | Affected by | VCID-t6fs-2jn9-bfbg | https://curl.se/docs/CVE-2025-0167.json | 36.0.0 |
2025-03-28T13:43:16.335473+00:00 | Curl Importer | Affected by | VCID-97mb-c19v-bqcx | https://curl.se/docs/CVE-2025-0725.json | 36.0.0 |
2025-01-16T20:10:06.462401+00:00 | Curl Importer | Affected by | VCID-gw9j-gggs-t7at | https://curl.se/docs/CVE-2024-11053.json | 35.1.0 |
2024-12-11T08:35:47.999672+00:00 | Curl Importer | Affected by | VCID-gw9j-gggs-t7at | https://curl.se/docs/CVE-2024-11053.json | 35.0.0 |
2024-11-19T00:55:33.665997+00:00 | Curl Importer | Affected by | VCID-jxju-r4ej-ffev | https://curl.se/docs/CVE-2024-9681.json | 34.3.2 |
2024-09-18T09:28:39.459137+00:00 | Curl Importer | Fixing | VCID-1ard-hhvx-aaab | https://curl.se/docs/CVE-2024-2004.json | 34.0.1 |
2024-09-18T09:28:39.351113+00:00 | Curl Importer | Fixing | VCID-vnx7-5dem-aaaj | https://curl.se/docs/CVE-2024-2379.json | 34.0.1 |
2024-09-18T09:28:39.310567+00:00 | Curl Importer | Fixing | VCID-gvnm-3697-aaap | https://curl.se/docs/CVE-2024-2398.json | 34.0.1 |
2024-09-18T09:28:38.861371+00:00 | Curl Importer | Fixing | VCID-tvd6-vm9d-aaap | https://curl.se/docs/CVE-2024-2466.json | 34.0.1 |
2024-09-18T09:28:38.812528+00:00 | Curl Importer | Affected by | VCID-a4bj-1mva-aaap | https://curl.se/docs/CVE-2024-6197.json | 34.0.1 |
2024-09-18T09:28:38.732344+00:00 | Curl Importer | Affected by | VCID-1dvu-a5gy-aaah | https://curl.se/docs/CVE-2024-7264.json | 34.0.1 |
2024-09-18T09:28:38.157467+00:00 | Curl Importer | Affected by | VCID-w4x7-57vc-7yh7 | https://curl.se/docs/CVE-2024-8096.json | 34.0.1 |