Bug 233801 - FreeBSD 11.x vulnerability in OpenSSH
Summary: FreeBSD 11.x vulnerability in OpenSSH
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.3-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: Security Team
URL: https://nvd.nist.gov/vuln/detail/CVE-...
Keywords: needs-qa, security
Depends on:
Reported: 2018-12-05 14:27 UTC by Dani I.
Modified: 2020-06-08 14:52 UTC (History)
9 users (show)

See Also:
koobs: mfc-stable11?


Note You need to log in before you can comment on or make changes to this bug.
Description Dani I. 2018-12-05 14:27:23 UTC
https://nvd.nist.gov/vuln/detail/CVE-2017-15906 - Has not been fixed in FreeBSD 11.x

Is there a special reason for this or was it forgotten? 

These are the mentioned lines: https://svnweb.freebsd.org/base/releng/11.2/crypto/openssh/sftp-server.c?view=markup#l694

A fix is availible (and has been released with v7.6 - so FBSD 12 isn't vulnerable) - see: 
or from OpenBSD: 
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2018-12-07 10:04:15 UTC
See Also: http://lists.nycbug.org/pipermail/talk/2017-December/017442.html where eadler apparently looped secteam in
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2018-12-07 10:05:46 UTC
HEAD received the OpenSSH 7.6p1 update in base r333389 so stable/12 has it
Comment 3 Dani I. 2019-03-12 18:36:03 UTC
Comment 4 Dani I. 2019-12-13 13:24:35 UTC
Comment 5 commit-hook freebsd_committer 2019-12-13 20:46:44 UTC
A commit references this bug:

Author: emaste
Date: Fri Dec 13 20:45:46 UTC 2019
New revision: 355731
URL: https://svnweb.freebsd.org/changeset/base/355731

  sftp: disallow creation (of empty files) in read-only mode

  Direct commit to stable/11; already fixed in newer OpenSSH in 12 and

  PR:		233801
  Reported by:	Dani
  Obtained from:	OpenBSD 1.111
  Security:	CVE-2017-15906