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.06% (29th 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-1698702
  • published27 Sept 2021
  • disclosed30 Apr 2021

Introduced: 30 Apr 2021

CVE-2020-1721  (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 flaw was found in the Key Recovery Authority (KRA) Agent Service in pki-core 10.10.5 where it did not properly sanitize the recovery ID during a key recovery request, enabling a reflected cross-site scripting (XSS) vulnerability. An attacker could trick an authenticated victim into executing specially crafted Javascript code.

CVSS Scores

version 3.1