OS Command Injection Affecting less package, versions *


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.05% (15th percentile)
Expand this section
Red Hat
8.6 high

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-LESS-6614330
  • published 15 Apr 2024
  • disclosed 13 Apr 2024

How to fix?

There is no fixed version for Centos:8 less.

NVD Description

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

less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c. Exploitation typically requires use with attacker-controlled file names, such as the files extracted from an untrusted archive. Exploitation also requires the LESSOPEN environment variable, but this is set by default in many common cases.