---
id: CVE-2022-30115
title: >-
  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
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…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-325
  - CWE-319
vendor: haxx
product: curl
affected:
  - 'curl >= 7.82.0, < 7.83.1'
  - hci_bootstrap_os
  - clustered_data_ontap
  - 'solidfire,_enterprise_sds_&_hci_storage_node'
  - solidfire_&_hci_management_node
  - h300s_firmware
  - h500s_firmware
  - h700s_firmware
  - h410s_firmware
  - 'universal_forwarder >= 8.2.0, < 8.2.12'
  - 'universal_forwarder >= 9.0.0, < 9.0.6'
  - universal_forwarder = 9.1.0
patched:
  - curl 7.83.1
  - universal_forwarder 9.0.6
published: '2022-06-02'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T21:17:48.587'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-30115'
references:
  - url: 'http://www.openwall.com/lists/oss-security/2022/10/26/4'
    label: support@hackerone.com
  - url: 'http://www.openwall.com/lists/oss-security/2022/12/21/1'
    label: support@hackerone.com
  - url: 'https://hackerone.com/reports/1557449'
    label: support@hackerone.com
  - url: 'https://security.gentoo.org/glsa/202212-01'
    label: support@hackerone.com
  - url: 'https://security.netapp.com/advisory/ntap-20220609-0009/'
    label: support@hackerone.com
  - url: 'http://www.openwall.com/lists/oss-security/2022/10/26/4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2022/12/21/1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://hackerone.com/reports/1557449'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202212-01'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20220609-0009/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01262
epssPercentile: 0.68777
ingestedAt: '2026-10-08T22:11:53.750Z'
---

## Overview

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.

## Affected

- `curl >= 7.82.0, < 7.83.1`
- `hci_bootstrap_os`
- `clustered_data_ontap`
- `solidfire,_enterprise_sds_&_hci_storage_node`
- `solidfire_&_hci_management_node`
- `h300s_firmware`
- `h500s_firmware`
- `h700s_firmware`
- `h410s_firmware`
- `universal_forwarder >= 8.2.0, < 8.2.12`
- `universal_forwarder >= 9.0.0, < 9.0.6`
- `universal_forwarder = 9.1.0`

## Remediation

Upgrade past the affected range:

- `curl 7.83.1`
- `universal_forwarder 9.0.6`
