Arbitrary Code Execution Affecting xterm package, versions [,375)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (78th 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-XTERM-3113879
  • published14 Nov 2022
  • disclosed10 Nov 2022
  • creditUnknown

Introduced: 10 Nov 2022

CVE-2022-45063  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade xterm to version 375 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution via font ops, because an OSC 50 response may have Ctrl-g and therefore lead to command execution within the vi line-editing mode of Zsh. Note: font ops are not allowed in the xterm default configurations of some Linux distributions.

CVSS Scores

version 3.1