Skip to content
Fencer Intel
high 7.5

CVE-2022-42916 json

In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP.

published 4y ago modified 26d ago also EUVD-2022-45973 , JLSEC-2026-399

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.

Patch / fix

  • julia CURL_jll 8.5.0+0
  • julia LibCURL_jll 7.87.0+0
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • curl Debian 14, Debian 13, Debian 12 7.86.0-1

debian advisories DEBIAN-CVE-2022-42916

  • curl Ubuntu 22.04 LTS 7.81.0-1ubuntu1.6

ubuntu advisories UBUNTU-CVE-2022-42916

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • jbcs-httpd24-curl jboss core services 1 7.86.0-2.el7jbcs
  • jbcs-httpd24-curl jboss core services 1 7.86.0-2.el8jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.51-37.el7jbcs
  • jbcs-httpd24-httpd jboss core services 1 2.4.51-37.el8jbcs
  • jbcs-httpd24-libcurl jboss core services 1 7.86.0-2.el7jbcs
  • jbcs-httpd24-libcurl jboss core services 1 7.86.0-2.el8jbcs
  • jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.51-37.el7jbcs
  • jbcs-httpd24-mod_ssl jboss core services 1 1:2.4.51-37.el8jbcs

red hat advisories RHSA-2022:8840

  • curl SLE Module for Basesystem 15 SP4, SLE Micro 5.3, openSUSE Leap 15.4 7.79.1-150400.5.9.1

suse advisories SUSE-SU-2022:3785-1

  • curl openSUSE Tumbleweed 7.86.0-1.1

opensuse advisories openSUSE-SU-2024:12447-1

  • curl Alpine 3.15 7.80.0-r4
  • curl Alpine 3.16 7.83.1-r4
  • curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 7.86.0-r0

alpine advisories ALPINE-CVE-2022-42916

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl CBL-Mariner 2.0 7.86.0-1
  • tensorflow Azure Linux 3.0 2.16.1-1

azure linux advisories AZL-11369AZL-38722

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2022-42916 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-42916 updated cvss 7.5

curl: HSTS bypass via IDN

  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2022:8841
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 7.86.0-2.el7jbcs, jbcs-httpd24-libcurl 7.86.0-2.el7jbcs Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 7.86.0-2.el8jbcs, jbcs-httpd24-libcurl 7.86.0-2.el8jbcs
    fixed: vendor fix RHSA-2022:8840
  • Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat Enterprise Linux 9 curl, libcurl, curl-minimal, libcurl-minimal Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-httpd 2.4.51-37.el7jbcs, jbcs-httpd24-mod_md 2.4.0-18.el7jbcs, jbcs-httpd24-apr-util 1.6.1-99.el7jbcs, jbcs-httpd24-mod_ssl 2.4.51-37.el7jbcs, jbcs-httpd24-nghttp2 1.43.0-11.el7jbcs, jbcs-httpd24-openssl 1.1.1k-13.el7jbcs, +22 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-httpd 2.4.51-37.el8jbcs, jbcs-httpd24-mod_md 2.4.0-18.el8jbcs, jbcs-httpd24-apr-util 1.6.1-99.el8jbcs, jbcs-httpd24-mod_ssl 2.4.51-37.el8jbcs, jbcs-httpd24-nghttp2 1.43.0-11.el8jbcs, jbcs-httpd24-openssl 1.1.1k-13.el8jbcs, +22 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 9.1

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

2.51% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
julia CURL_jll
<8.5.0+0
8.5.0+0
julia LibCURL_jll
>=7.81.0+0, <7.87.0+0
7.87.0+0

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-319 Cleartext Transmission of Sensitive Information

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.