Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2022-41722: Security patch for golang (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Amazon Linux AMI 2: CVE-2022-41722: Security patch for golang (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
02/28/2023
Created
05/05/2023
Added
04/21/2023
Modified
09/28/2023

Description

A path traversal vulnerability exists in filepath.Clean on Windows. On Windows, the filepath.Clean function could transform an invalid path such as "a/../c:/b" into the valid path "c:\b". This transformation of a relative (if invalid) path into an absolute path could enable a directory traversal attack. After fix, the filepath.Clean function transforms this path into the relative (but still invalid) path ".\c:\b".

Solution(s)

  • amazon-linux-ami-2-upgrade-golang
  • amazon-linux-ami-2-upgrade-golang-bin
  • amazon-linux-ami-2-upgrade-golang-docs
  • amazon-linux-ami-2-upgrade-golang-misc
  • amazon-linux-ami-2-upgrade-golang-race
  • amazon-linux-ami-2-upgrade-golang-shared
  • amazon-linux-ami-2-upgrade-golang-src
  • amazon-linux-ami-2-upgrade-golang-tests

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;