Improper Input Validation Affecting openssh-askpass package, versions <0:7.4p1-16.el7


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.36% (72nd 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 IDSNYK-RHEL7-OPENSSHASKPASS-4783397
  • published26 Jul 2021
  • disclosed3 Oct 2017

Introduced: 3 Oct 2017

CVE-2017-15906  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:7 openssh-askpass to version 0:7.4p1-16.el7 or higher.
This issue was patched in RHSA-2018:0980.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-askpass package and not the openssh-askpass package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows attackers to create zero-length files.

CVSS Scores

version 3.1