OpenSSH: Permission issue — GLSA 201801-05

A flaw has been discovered in OpenSSH which could allow a remote attacker to create zero-length files.

Affected Packages

net-misc/openssh on all architectures
Affected versions < 7.5_p1-r3
Unaffected versions >= 7.5_p1-r3

Background

OpenSSH is a complete SSH protocol implementation that includes SFTP client and server support.

Description

The process_open function in sftp-server.c in OpenSSH did not properly prevent write operations in readonly mode.

Impact

A remote attacker could cause the creation of zero-length files.

Workaround

There is no known workaround at this time.

Resolution

All OpenSSH users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-misc/openssh-7.5_p1-r3"
 

References

Release Date
January 07, 2018

Latest Revision
January 07, 2018: 1

Severity
normal

Exploitable
remote

Bugzilla entries