Arbitrary Code Injection Affecting xterm-resize package, versions *


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.46% (76th 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 ID SNYK-CENTOS8-XTERMRESIZE-3114244
  • published 14 Nov 2022
  • disclosed 10 Nov 2022

How to fix?

There is no fixed version for Centos:8 xterm-resize.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xterm-resize package and not the xterm-resize package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

xterm before 375 allows code execution via font ops, e.g., 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
Expand this section

NVD

9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

Red Hat

7.4 high
Expand this section

SUSE

8.8 high