{"id":"CVE-2017-15906","details":"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.","modified":"2026-04-16T01:39:13.738305824Z","published":"2017-10-26T03:29:00.220Z","related":["SUSE-SU-2017:3230-1","SUSE-SU-2018:2275-1","SUSE-SU-2018:2685-1","SUSE-SU-2018:2719-1","SUSE-SU-2018:3540-1"],"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/101552"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:0980"},{"type":"ADVISORY","url":"https://github.com/openbsd/src/commit/a6981567e8e215acc1ef690c8dbb30f2d9b00a19"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201801-05"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180423-0004/"},{"type":"ADVISORY","url":"https://www.openssh.com/txt/release-7.6"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujan2020.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openbsd/src","events":[{"introduced":"0"},{"fixed":"a6981567e8e215acc1ef690c8dbb30f2d9b00a19"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-15906.json","vanir_signatures":[{"signature_version":"v1","id":"CVE-2017-15906-09c3b956","signature_type":"Function","target":{"function":"process_open","file":"usr.bin/ssh/sftp-server.c"},"deprecated":false,"digest":{"length":1097,"function_hash":"245508202350905329393278082937121320963"},"source":"https://github.com/openbsd/src/commit/a6981567e8e215acc1ef690c8dbb30f2d9b00a19"},{"signature_version":"v1","id":"CVE-2017-15906-37a449e1","signature_type":"Line","target":{"file":"usr.bin/ssh/sftp-server.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["73451354983332106238004573019954184765","115047829827750025844972100937310889789","225154063895468876819726826952558484895","228425264224619864482417641601121868070","128057601860705487882805129516859362391","140618039411384439181225380759627597025"]},"source":"https://github.com/openbsd/src/commit/a6981567e8e215acc1ef690c8dbb30f2d9b00a19"}]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}