Cross-site Scripting (XSS) Affecting amazon-ssm-agent package, versions <0:3.2.1705.0-1.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-AMAZONSSMAGENT-6042974
  • published2 Nov 2023
  • disclosed2 Aug 2023

Introduced: 2 Aug 2023

CVE-2023-3978  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 amazon-ssm-agent to version 0:3.2.1705.0-1.amzn2 or higher.
This issue was patched in ALAS2-2023-2303.

NVD Description

Note: Versions mentioned in the description apply only to the upstream amazon-ssm-agent package and not the amazon-ssm-agent package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.

CVSS Scores

version 3.1