curl — security advisory
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.
- Products
- curl
- Affected versions
- Not specified
- Fixed versions
- 7.83.1-1
- CVEs
- CVE-2022-30115
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:48 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2022-30115
curl
Fixed versions: 7.83.1-1
curl
Fixed versions: 7.83.1-1
curl
Fixed versions: 7.83.1-1
Complete source record
{
"id": "9330934c23350707e0ee24a4d2ba04e8ca18ffab0c9675289bf42dc239940c54",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-30115",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-30115",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2022-30115",
"products": [
{
"name": {
"value": "curl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.83.1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.83.1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.83.1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2022-30115",
"aliases": [
"DEBIAN-CVE-2022-30115"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.83.1-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-30115.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.83.1-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-30115.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.83.1-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-30115.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:40.246333457Z",
"provider": "osv",
"upstream": [
"CVE-2022-30115"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-30115"
]
},
"related_cves": [
{
"value": "CVE-2022-30115",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 328246,
"published_at": "2022-06-02T14:15:51.507+00:00"
}