Cross-site Scripting (XSS) Affecting pki-base package, versions <0:10.5.18-12.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (34th 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-PKIBASE-1698807
  • published27 Sept 2021
  • disclosed20 Mar 2020

Introduced: 20 Mar 2020

CVE-2019-10221  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 pki-base to version 0:10.5.18-12.amzn2.0.1 or higher.
This issue was patched in ALAS2-2021-1630.

NVD Description

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

A Reflected Cross Site Scripting vulnerability was found in all pki-core 10.x.x versions, where the pki-ca module from the pki-core server. This flaw is caused by missing sanitization of the GET URL parameters. An attacker could abuse this flaw to trick an authenticated user into clicking a specially crafted link which can execute arbitrary code when viewed in a browser.

CVSS Scores

version 3.1