CVE-2022-30115

medium

Description

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.

References

https://hackerone.com/reports/1557449

https://security.gentoo.org/glsa/202212-01

https://security.netapp.com/advisory/ntap-20220609-0009/

http://www.openwall.com/lists/oss-security/2022/10/26/4

http://www.openwall.com/lists/oss-security/2022/12/21/1

Details

Source: Mitre, NVD

Published: 2022-06-02

Risk Information

CVSS v2

Base Score: 4

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Severity: Medium