Action not permitted
Modal body text goes here.
Modal Title
Modal Body
usn-6429-3
Vulnerability from osv_ubuntu
USN-6429-1 fixed vulnerabilities in curl. This update provides the corresponding updates for Ubuntu 23.10.
Original advisory details:
Jay Satiro discovered that curl incorrectly handled hostnames when using a SOCKS5 proxy. In environments where curl is configured to use a SOCKS5 proxy, a remote attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 22.04 LTS, and Ubuntu 23.04. (CVE-2023-38545)
It was discovered that curl incorrectly handled cookies when an application duplicated certain handles. A local attacker could possibly create a cookie file and inject arbitrary cookies into subsequent connections. (CVE-2023-38546)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "curl-dbgsym",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-gnutls-dbgsym",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-nss-dbgsym",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4-dbgsym",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4-doc",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4-gnutls-dev",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4-nss-dev",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4-openssl-dev",
"binary_version": "8.2.1-1ubuntu3.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:23.10",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@8.2.1-1ubuntu3.1?arch=source\u0026distro=mantic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.2.1-1ubuntu3.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.88.1-8ubuntu1",
"7.88.1-9ubuntu1",
"7.88.1-10ubuntu1",
"8.2.1-1ubuntu2",
"8.2.1-1ubuntu3"
]
}
],
"aliases": [],
"details": "USN-6429-1 fixed vulnerabilities in curl. This update provides the\ncorresponding updates for Ubuntu 23.10.\n\nOriginal advisory details:\n\n Jay Satiro discovered that curl incorrectly handled hostnames when using a\n SOCKS5 proxy. In environments where curl is configured to use a SOCKS5\n proxy, a remote attacker could possibly use this issue to execute arbitrary\n code. This issue only affected Ubuntu 22.04 LTS, and Ubuntu 23.04.\n (CVE-2023-38545)\n \n It was discovered that curl incorrectly handled cookies when an application\n duplicated certain handles. A local attacker could possibly create a cookie\n file and inject arbitrary cookies into subsequent connections.\n (CVE-2023-38546)\n",
"id": "USN-6429-3",
"modified": "2023-10-17T11:22:48.353678Z",
"published": "2023-10-17T11:22:48.353678Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6429-3"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-38545"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-38546"
}
],
"related": [
"CVE-2023-38545",
"UBUNTU-CVE-2023-38545",
"CVE-2023-38546",
"UBUNTU-CVE-2023-38546"
],
"schema_version": "1.6.3",
"summary": "curl vulnerabilities"
}
CVE-2023-38545 (GCVE-0-2023-38545)
Vulnerability from cvelistv5 – Published: 2023-10-18 03:52 – Updated: 2026-07-14 12:03- CWE-787 - Out-of-bounds Write
| Vendor | Product | Version | |
|---|---|---|---|
| curl | curl |
Affected:
8.4.0 , < 8.4.0
(semver)
Unaffected: 7.69.0 , < 7.69.0 (semver) |
|
| Siemens | RUGGEDCOM APE1808 |
Affected:
0 , < *
(custom)
|
|
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP |
Affected:
V3.1.5 , < *
(custom)
|
|
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP |
Affected:
V3.1.5 , < *
(custom)
|
|
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP |
Affected:
V3.1.5 , < *
(custom)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T17:46:56.235Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://curl.se/docs/CVE-2023-38545.html"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.netapp.com/advisory/ntap-20231027-0009/"
},
{
"tags": [
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/"
},
{
"tags": [
"x_transferred"
],
"url": "https://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214036"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214063"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214057"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214058"
},
{
"tags": [
"x_transferred"
],
"url": "http://seclists.org/fulldisclosure/2024/Jan/34"
},
{
"tags": [
"x_transferred"
],
"url": "http://seclists.org/fulldisclosure/2024/Jan/37"
},
{
"tags": [
"x_transferred"
],
"url": "http://seclists.org/fulldisclosure/2024/Jan/38"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.netapp.com/advisory/ntap-20240201-0005/"
},
{
"tags": [
"x_transferred"
],
"url": "https://forum.vmssoftware.com/viewtopic.php?f=8\u0026t=8868"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2023-38545",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-10-17T21:11:03.346985Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-787",
"description": "CWE-787 Out-of-bounds Write",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-08-27T20:32:53.710Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/bcdannyboy/CVE-2023-38545"
},
{
"tags": [
"exploit"
],
"url": "https://github.com/dbrugman/CVE-2023-38545-POC"
},
{
"tags": [
"exploit"
],
"url": "https://github.com/UTsweetyfish/CVE-2023-38545"
}
],
"title": "CISA ADP Vulnrichment"
},
{
"affected": [
{
"defaultStatus": "unknown",
"product": "RUGGEDCOM APE1808",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIPLUS S7-1500 CPU 1518-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-14T12:03:14.064Z",
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP"
},
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-943925.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-832273.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-093430.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-082556.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-507364.html"
}
],
"x_adpType": "supplier"
}
],
"cna": {
"affected": [
{
"product": "curl",
"vendor": "curl",
"versions": [
{
"lessThan": "8.4.0",
"status": "affected",
"version": "8.4.0",
"versionType": "semver"
},
{
"lessThan": "7.69.0",
"status": "unaffected",
"version": "7.69.0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy\nhandshake.\n\nWhen curl is asked to pass along the host name to the SOCKS5 proxy to allow\nthat to resolve the address instead of it getting done by curl itself, the\nmaximum length that host name can be is 255 bytes.\n\nIf the host name is detected to be longer, curl switches to local name\nresolving and instead passes on the resolved address only. Due to this bug,\nthe local variable that means \"let the host resolve the name\" could get the\nwrong value during a slow SOCKS5 handshake, and contrary to the intention,\ncopy the too long host name to the target buffer instead of copying just the\nresolved address there.\n\nThe target buffer being a heap based buffer, and the host name coming from the\nURL that curl has been told to operate with."
}
],
"providerMetadata": {
"dateUpdated": "2024-07-09T13:27:08.128Z",
"orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
"shortName": "hackerone"
},
"references": [
{
"url": "https://curl.se/docs/CVE-2023-38545.html"
},
{
"url": "https://security.netapp.com/advisory/ntap-20231027-0009/"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/"
},
{
"url": "https://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/"
},
{
"url": "https://support.apple.com/kb/HT214036"
},
{
"url": "https://support.apple.com/kb/HT214063"
},
{
"url": "https://support.apple.com/kb/HT214057"
},
{
"url": "https://support.apple.com/kb/HT214058"
},
{
"url": "http://seclists.org/fulldisclosure/2024/Jan/34"
},
{
"url": "http://seclists.org/fulldisclosure/2024/Jan/37"
},
{
"url": "http://seclists.org/fulldisclosure/2024/Jan/38"
},
{
"url": "https://security.netapp.com/advisory/ntap-20240201-0005/"
},
{
"url": "https://forum.vmssoftware.com/viewtopic.php?f=8\u0026t=8868"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
"assignerShortName": "hackerone",
"cveId": "CVE-2023-38545",
"datePublished": "2023-10-18T03:52:00.816Z",
"dateReserved": "2023-07-20T01:00:12.444Z",
"dateUpdated": "2026-07-14T12:03:14.064Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2023-38546 (GCVE-0-2023-38546)
Vulnerability from cvelistv5 – Published: 2023-10-18 03:51 – Updated: 2026-07-14 12:03| Vendor | Product | Version | |
|---|---|---|---|
| curl | curl |
Affected:
8.4.0 , < 8.4.0
(semver)
Unaffected: 7.9.1 , < 7.9.1 (semver) |
|
| Siemens | RUGGEDCOM APE1808 |
Affected:
0 , < *
(custom)
|
|
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP |
Affected:
V3.1.5 , < *
(custom)
|
|
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP |
Affected:
V3.1.5 , < *
(custom)
|
|
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP |
Affected:
V3.1.5 , < *
(custom)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2025-11-04T19:17:18.131Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://curl.se/docs/CVE-2023-38546.html"
},
{
"tags": [
"x_transferred"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214036"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214063"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214057"
},
{
"tags": [
"x_transferred"
],
"url": "https://support.apple.com/kb/HT214058"
},
{
"tags": [
"x_transferred"
],
"url": "http://seclists.org/fulldisclosure/2024/Jan/34"
},
{
"tags": [
"x_transferred"
],
"url": "http://seclists.org/fulldisclosure/2024/Jan/37"
},
{
"tags": [
"x_transferred"
],
"url": "http://seclists.org/fulldisclosure/2024/Jan/38"
},
{
"tags": [
"x_transferred"
],
"url": "https://forum.vmssoftware.com/viewtopic.php?f=8\u0026t=8868"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2023-38546",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-09-13T15:01:53.358515Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-09-13T15:02:37.137Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"affected": [
{
"defaultStatus": "unknown",
"product": "RUGGEDCOM APE1808",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unknown",
"product": "SIPLUS S7-1500 CPU 1518-4 PN/DP MFP",
"vendor": "Siemens",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "V3.1.5",
"versionType": "custom"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-14T12:03:15.825Z",
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP"
},
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-943925.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-832273.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-093430.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-082556.html"
}
],
"x_adpType": "supplier"
}
],
"cna": {
"affected": [
{
"product": "curl",
"vendor": "curl",
"versions": [
{
"lessThan": "8.4.0",
"status": "affected",
"version": "8.4.0",
"versionType": "semver"
},
{
"lessThan": "7.9.1",
"status": "unaffected",
"version": "7.9.1",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "This flaw allows an attacker to insert cookies at will into a running program\nusing libcurl, if the specific series of conditions are met.\n\nlibcurl performs transfers. In its API, an application creates \"easy handles\"\nthat are the individual handles for single transfers.\n\nlibcurl provides a function call that duplicates en easy handle called\n[curl_easy_duphandle](https://curl.se/libcurl/c/curl_easy_duphandle.html).\n\nIf a transfer has cookies enabled when the handle is duplicated, the\ncookie-enable state is also cloned - but without cloning the actual\ncookies. If the source handle did not read any cookies from a specific file on\ndisk, the cloned version of the handle would instead store the file name as\n`none` (using the four ASCII letters, no quotes).\n\nSubsequent use of the cloned handle that does not explicitly set a source to\nload cookies from would then inadvertently load cookies from a file named\n`none` - if such a file exists and is readable in the current directory of the\nprogram using libcurl. And if using the correct file format of course."
}
],
"providerMetadata": {
"dateUpdated": "2024-07-09T13:27:34.245Z",
"orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
"shortName": "hackerone"
},
"references": [
{
"url": "https://curl.se/docs/CVE-2023-38546.html"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/"
},
{
"url": "https://support.apple.com/kb/HT214036"
},
{
"url": "https://support.apple.com/kb/HT214063"
},
{
"url": "https://support.apple.com/kb/HT214057"
},
{
"url": "https://support.apple.com/kb/HT214058"
},
{
"url": "http://seclists.org/fulldisclosure/2024/Jan/34"
},
{
"url": "http://seclists.org/fulldisclosure/2024/Jan/37"
},
{
"url": "http://seclists.org/fulldisclosure/2024/Jan/38"
},
{
"url": "https://forum.vmssoftware.com/viewtopic.php?f=8\u0026t=8868"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
"assignerShortName": "hackerone",
"cveId": "CVE-2023-38546",
"datePublished": "2023-10-18T03:51:31.276Z",
"dateReserved": "2023-07-20T01:00:12.444Z",
"dateUpdated": "2026-07-14T12:03:15.825Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
ubuntu-cve-2023-38545
Vulnerability from osv_ubuntu
This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is asked to pass along the host name to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that host name can be is 255 bytes. If the host name is detected to be longer, curl switches to local name resolving and instead passes on the resolved address only. Due to this bug, the local variable that means "let the host resolve the name" could get the wrong value during a slow SOCKS5 handshake, and contrary to the intention, copy the too long host name to the target buffer instead of copying just the resolved address there. The target buffer being a heap based buffer, and the host name coming from the URL that curl has been told to operate with.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.81.0-1ubuntu1.14"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.81.0-1ubuntu1.14"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.81.0-1ubuntu1.14"
},
{
"binary_name": "libcurl4",
"binary_version": "7.81.0-1ubuntu1.14"
}
],
"priority_reason": "Upstream curl developer has rated this issue as high"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.81.0-1ubuntu1.14?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.81.0-1ubuntu1.14"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.74.0-1.3ubuntu2",
"7.74.0-1.3ubuntu3",
"7.80.0-3",
"7.81.0-1",
"7.81.0-1ubuntu1.1",
"7.81.0-1ubuntu1.2",
"7.81.0-1ubuntu1.3",
"7.81.0-1ubuntu1.4",
"7.81.0-1ubuntu1.6",
"7.81.0-1ubuntu1.7",
"7.81.0-1ubuntu1.8",
"7.81.0-1ubuntu1.10",
"7.81.0-1ubuntu1.11",
"7.81.0-1ubuntu1.13"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4",
"binary_version": "8.2.1-1ubuntu3.1"
}
],
"priority_reason": "Upstream curl developer has rated this issue as high"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@8.2.1-1ubuntu3.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.2.1-1ubuntu3.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.2.1-1ubuntu3"
]
}
],
"aliases": [],
"details": "This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is asked to pass along the host name to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that host name can be is 255 bytes. If the host name is detected to be longer, curl switches to local name resolving and instead passes on the resolved address only. Due to this bug, the local variable that means \"let the host resolve the name\" could get the wrong value during a slow SOCKS5 handshake, and contrary to the intention, copy the too long host name to the target buffer instead of copying just the resolved address there. The target buffer being a heap based buffer, and the host name coming from the URL that curl has been told to operate with.",
"id": "UBUNTU-CVE-2023-38545",
"modified": "2026-04-22T07:45:24Z",
"published": "2023-10-11T06:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-38545"
},
{
"type": "REPORT",
"url": "https://curl.se/docs/CVE-2023-38545.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6429-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6429-3"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-38545"
}
],
"related": [
"USN-6429-1",
"USN-6429-3"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-38545"
]
}
ubuntu-cve-2023-38546
Vulnerability from osv_ubuntu
This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of conditions are met. libcurl performs transfers. In its API, an application creates "easy handles" that are the individual handles for single transfers. libcurl provides a function call that duplicates en easy handle called curl_easy_duphandle. If a transfer has cookies enabled when the handle is duplicated, the cookie-enable state is also cloned - but without cloning the actual cookies. If the source handle did not read any cookies from a specific file on disk, the cloned version of the handle would instead store the file name as none (using the four ASCII letters, no quotes). Subsequent use of the cloned handle that does not explicitly set a source to load cookies from would then inadvertently load cookies from a file named none - if such a file exists and is readable in the current directory of the program using libcurl. And if using the correct file format of course.
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.35.0-1ubuntu2.20+esm17"
},
{
"binary_name": "libcurl3",
"binary_version": "7.35.0-1ubuntu2.20+esm17"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.35.0-1ubuntu2.20+esm17"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.35.0-1ubuntu2.20+esm17"
}
],
"priority_reason": "Per upstream, this is a low-severity issue"
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.20+esm17?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.35.0-1ubuntu2.20+esm17"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.32.0-1ubuntu1",
"7.33.0-1ubuntu1",
"7.34.0-1ubuntu1",
"7.35.0-1ubuntu1",
"7.35.0-1ubuntu2",
"7.35.0-1ubuntu2.1",
"7.35.0-1ubuntu2.2",
"7.35.0-1ubuntu2.3",
"7.35.0-1ubuntu2.5",
"7.35.0-1ubuntu2.6",
"7.35.0-1ubuntu2.7",
"7.35.0-1ubuntu2.8",
"7.35.0-1ubuntu2.9",
"7.35.0-1ubuntu2.10",
"7.35.0-1ubuntu2.11",
"7.35.0-1ubuntu2.12",
"7.35.0-1ubuntu2.13",
"7.35.0-1ubuntu2.14",
"7.35.0-1ubuntu2.15",
"7.35.0-1ubuntu2.16",
"7.35.0-1ubuntu2.17",
"7.35.0-1ubuntu2.19",
"7.35.0-1ubuntu2.20",
"7.35.0-1ubuntu2.20+esm2",
"7.35.0-1ubuntu2.20+esm3",
"7.35.0-1ubuntu2.20+esm4",
"7.35.0-1ubuntu2.20+esm5",
"7.35.0-1ubuntu2.20+esm6",
"7.35.0-1ubuntu2.20+esm7",
"7.35.0-1ubuntu2.20+esm8",
"7.35.0-1ubuntu2.20+esm9",
"7.35.0-1ubuntu2.20+esm10",
"7.35.0-1ubuntu2.20+esm11",
"7.35.0-1ubuntu2.20+esm12",
"7.35.0-1ubuntu2.20+esm13",
"7.35.0-1ubuntu2.20+esm14",
"7.35.0-1ubuntu2.20+esm15",
"7.35.0-1ubuntu2.20+esm16"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.47.0-1ubuntu2.19+esm10"
},
{
"binary_name": "libcurl3",
"binary_version": "7.47.0-1ubuntu2.19+esm10"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.47.0-1ubuntu2.19+esm10"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.47.0-1ubuntu2.19+esm10"
}
],
"priority_reason": "Per upstream, this is a low-severity issue"
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.19+esm10?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.47.0-1ubuntu2.19+esm10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.43.0-1ubuntu2",
"7.45.0-1ubuntu1",
"7.46.0-1ubuntu1",
"7.47.0-1ubuntu1",
"7.47.0-1ubuntu2",
"7.47.0-1ubuntu2.1",
"7.47.0-1ubuntu2.2",
"7.47.0-1ubuntu2.3",
"7.47.0-1ubuntu2.4",
"7.47.0-1ubuntu2.5",
"7.47.0-1ubuntu2.6",
"7.47.0-1ubuntu2.7",
"7.47.0-1ubuntu2.8",
"7.47.0-1ubuntu2.9",
"7.47.0-1ubuntu2.11",
"7.47.0-1ubuntu2.12",
"7.47.0-1ubuntu2.13",
"7.47.0-1ubuntu2.14",
"7.47.0-1ubuntu2.15",
"7.47.0-1ubuntu2.16",
"7.47.0-1ubuntu2.18",
"7.47.0-1ubuntu2.19",
"7.47.0-1ubuntu2.19+esm1",
"7.47.0-1ubuntu2.19+esm2",
"7.47.0-1ubuntu2.19+esm3",
"7.47.0-1ubuntu2.19+esm4",
"7.47.0-1ubuntu2.19+esm5",
"7.47.0-1ubuntu2.19+esm6",
"7.47.0-1ubuntu2.19+esm7",
"7.47.0-1ubuntu2.19+esm8",
"7.47.0-1ubuntu2.19+esm9"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.58.0-2ubuntu3.24+esm2"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.58.0-2ubuntu3.24+esm2"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.58.0-2ubuntu3.24+esm2"
},
{
"binary_name": "libcurl4",
"binary_version": "7.58.0-2ubuntu3.24+esm2"
}
],
"priority_reason": "Per upstream, this is a low-severity issue"
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.24+esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.58.0-2ubuntu3.24+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.55.1-1ubuntu2",
"7.55.1-1ubuntu2.1",
"7.57.0-1ubuntu1",
"7.58.0-2ubuntu1",
"7.58.0-2ubuntu2",
"7.58.0-2ubuntu3",
"7.58.0-2ubuntu3.1",
"7.58.0-2ubuntu3.2",
"7.58.0-2ubuntu3.3",
"7.58.0-2ubuntu3.5",
"7.58.0-2ubuntu3.6",
"7.58.0-2ubuntu3.7",
"7.58.0-2ubuntu3.8",
"7.58.0-2ubuntu3.9",
"7.58.0-2ubuntu3.10",
"7.58.0-2ubuntu3.12",
"7.58.0-2ubuntu3.13",
"7.58.0-2ubuntu3.14",
"7.58.0-2ubuntu3.15",
"7.58.0-2ubuntu3.16",
"7.58.0-2ubuntu3.17",
"7.58.0-2ubuntu3.18",
"7.58.0-2ubuntu3.19",
"7.58.0-2ubuntu3.20",
"7.58.0-2ubuntu3.21",
"7.58.0-2ubuntu3.22",
"7.58.0-2ubuntu3.23",
"7.58.0-2ubuntu3.24",
"7.58.0-2ubuntu3.24+esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.68.0-1ubuntu2.20"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.68.0-1ubuntu2.20"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.68.0-1ubuntu2.20"
},
{
"binary_name": "libcurl4",
"binary_version": "7.68.0-1ubuntu2.20"
}
],
"priority_reason": "Per upstream, this is a low-severity issue"
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.68.0-1ubuntu2.20?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.68.0-1ubuntu2.20"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.65.3-1ubuntu3",
"7.65.3-1ubuntu4",
"7.66.0-1ubuntu1",
"7.67.0-2ubuntu1",
"7.68.0-1ubuntu1",
"7.68.0-1ubuntu2",
"7.68.0-1ubuntu2.1",
"7.68.0-1ubuntu2.2",
"7.68.0-1ubuntu2.4",
"7.68.0-1ubuntu2.5",
"7.68.0-1ubuntu2.6",
"7.68.0-1ubuntu2.7",
"7.68.0-1ubuntu2.10",
"7.68.0-1ubuntu2.11",
"7.68.0-1ubuntu2.12",
"7.68.0-1ubuntu2.13",
"7.68.0-1ubuntu2.14",
"7.68.0-1ubuntu2.15",
"7.68.0-1ubuntu2.16",
"7.68.0-1ubuntu2.18",
"7.68.0-1ubuntu2.19"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "7.81.0-1ubuntu1.14"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "7.81.0-1ubuntu1.14"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "7.81.0-1ubuntu1.14"
},
{
"binary_name": "libcurl4",
"binary_version": "7.81.0-1ubuntu1.14"
}
],
"priority_reason": "Per upstream, this is a low-severity issue"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@7.81.0-1ubuntu1.14?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.81.0-1ubuntu1.14"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.74.0-1.3ubuntu2",
"7.74.0-1.3ubuntu3",
"7.80.0-3",
"7.81.0-1",
"7.81.0-1ubuntu1.1",
"7.81.0-1ubuntu1.2",
"7.81.0-1ubuntu1.3",
"7.81.0-1ubuntu1.4",
"7.81.0-1ubuntu1.6",
"7.81.0-1ubuntu1.7",
"7.81.0-1ubuntu1.8",
"7.81.0-1ubuntu1.10",
"7.81.0-1ubuntu1.11",
"7.81.0-1ubuntu1.13"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "curl",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-gnutls",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl3-nss",
"binary_version": "8.2.1-1ubuntu3.1"
},
{
"binary_name": "libcurl4",
"binary_version": "8.2.1-1ubuntu3.1"
}
],
"priority_reason": "Per upstream, this is a low-severity issue"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "curl",
"purl": "pkg:deb/ubuntu/curl@8.2.1-1ubuntu3.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.2.1-1ubuntu3.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.2.1-1ubuntu3"
]
}
],
"aliases": [],
"details": "This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of conditions are met. libcurl performs transfers. In its API, an application creates \"easy handles\" that are the individual handles for single transfers. libcurl provides a function call that duplicates en easy handle called [curl_easy_duphandle](https://curl.se/libcurl/c/curl_easy_duphandle.html). If a transfer has cookies enabled when the handle is duplicated, the cookie-enable state is also cloned - but without cloning the actual cookies. If the source handle did not read any cookies from a specific file on disk, the cloned version of the handle would instead store the file name as `none` (using the four ASCII letters, no quotes). Subsequent use of the cloned handle that does not explicitly set a source to load cookies from would then inadvertently load cookies from a file named `none` - if such a file exists and is readable in the current directory of the program using libcurl. And if using the correct file format of course.",
"id": "UBUNTU-CVE-2023-38546",
"modified": "2026-04-22T07:45:24Z",
"published": "2023-10-11T06:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-38546"
},
{
"type": "REPORT",
"url": "https://curl.se/docs/CVE-2023-38546.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6429-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6429-2"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6429-3"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-38546"
}
],
"related": [
"USN-6429-1",
"USN-6429-2",
"USN-6429-3"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-38546"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.