跳转到帖子

Amazon Linux 2023: CVE-2022-43551: Medium priority package update for curl

recommended_posts

发布于
  • Members

Amazon Linux 2023: CVE-2022-43551: Medium priority package update for curl

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:C/I:N/A:N)
Published
12/21/2022
Created
02/14/2025
Added
02/14/2025
Modified
02/14/2025

Description

A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. However, the HSTS mechanism could be bypassed if the host name in the given URL first uses IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. Like using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E) `.`. Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the info IDN encoded but look for it IDN decoded. A vulnerability was found in curl. The issue can occur when curl's HSTS check is bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of an insecure clear-text HTTP step even when providing HTTP in the URL. Suppose the hostname in the given URL first uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion. In that case, it can bypass the HSTS mechanism using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E). Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the information, IDN encoded but looked for it as IDN decoded.

Solution(s)

  • amazon-linux-2023-upgrade-curl
  • amazon-linux-2023-upgrade-curl-debuginfo
  • amazon-linux-2023-upgrade-curl-debugsource
  • amazon-linux-2023-upgrade-curl-minimal
  • amazon-linux-2023-upgrade-curl-minimal-debuginfo
  • amazon-linux-2023-upgrade-libcurl
  • amazon-linux-2023-upgrade-libcurl-debuginfo
  • amazon-linux-2023-upgrade-libcurl-devel
  • amazon-linux-2023-upgrade-libcurl-minimal
  • amazon-linux-2023-upgrade-libcurl-minimal-debuginfo

References

  • https://attackerkb.com/topics/cve-2022-43551
  • CVE - 2022-43551
  • https://alas.aws.amazon.com/AL2023/ALAS-2023-083.html
  • 查看数 693
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…