VDB

CVE-2022-42916

CVE-2022-42916 PUBLISHED CVSS 7.5 HIGH

Reported by mitre · Published October 29, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libcurlAmazon Linux7.87.0-2.amzn2023.0.2, 7.79.1-7.amzn2.0.1
libcurl-develAmazon Linux7.87.0-2.amzn2023.0.2, 7.79.1-7.amzn2.0.1
curlAmazon Linux7.87.0-2.amzn2023.0.2
libcurl-minimalAmazon Linux7.87.0-2.amzn2023.0.2
curlWolfi7.86.0-r0
curl-minimalAmazon Linux7.87.0-2.amzn2023.0.2
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
macosapple13.2, 12.6.3
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
universal_forwardersplunk9.0.6, 8.2.12
curlhaxx7.86.0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2libcurl0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023libcurl-devel0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2023libcurl0
amazon:2023curl0
amazon:2023libcurl-minimal0
amazon:2libcurl-devel0
wolficurl0
amazon:2023curl-minimal0
n/an/a*
alpinecurl0, 0, 0
amazon:2curl0
chainguardcurl0

Timeline

  • Oct 27, 2022 PoC Published (7 in total, the first dated here)
  • Oct 29, 2022 CVE Published
  • Oct 29, 2022 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (12 in total, the first dated here)
  • Jun 14, 2026 Coalition ESS Score
  • Jul 2, 2026 Distribution Patch (8 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-42916
vulnetix vdb fixes CVE-2022-42916

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-42916/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›