Skip to contentSkip to conversation

package/libssh: security bump to version 0.9.5

PATCH New Fabrice Fontaine 4 participants 4 messages Sep 11, 2020 – Sep 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libssh: security bump to version 0.9.5

- Drop patches (already in version)
- Fix CVE-2020-16135: libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL.

---
 .../0001-libssh.h-bump-to-version-0.9.4.patch | 29 ------------
 ...eturning-SSH_AGAIN-from-ssh_channel_.patch | 45 -------------------
 package/libssh/libssh.hash                    |  4 +-
 package/libssh/libssh.mk                      |  2 +-
 4 files changed, 3 insertions(+), 77 deletions(-)
 delete mode 100644 package/libssh/0001-libssh.h-bump-to-version-0.9.4.patch
 delete mode 100644 package/libssh/0002-channels-Avoid-returning-SSH_AGAIN-from-ssh_channel_.patch
package/libssh/0001-libssh.h-bump-to-version-0.9.4.patch deleted +0 -29
deleted file mode 100644
index d6ec50509e..0000000000
@@ -1,29 +0,0 @@
-From 8d8428cbbc2c00d078cfbc967e4e6fee7ff7bf0b Mon Sep 17 00:00:00 2001
-From: Heiko Thiery <[email protected]>
-Date: Wed, 15 Apr 2020 11:57:29 +0200
-Subject: [PATCH] libssh.h: bump to version 0.9.4
-
-In the released version of libssh the version bump was not done
-properly. Therefore the current release 0.9.4 reports 0.9.3.
-
-Signed-off-by: Heiko Thiery <[email protected]>
----
- include/libssh/libssh.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
-index 79030131..e2a8d991 100644
---- a/include/libssh/libssh.h
-+++ b/include/libssh/libssh.h
-@@ -79,7 +79,7 @@
- /* libssh version */
- #define LIBSSH_VERSION_MAJOR  0
- #define LIBSSH_VERSION_MINOR  9
--#define LIBSSH_VERSION_MICRO  3
-+#define LIBSSH_VERSION_MICRO  4
- 
- #define LIBSSH_VERSION_INT SSH_VERSION_INT(LIBSSH_VERSION_MAJOR, \
-                                            LIBSSH_VERSION_MINOR, \
--- 
-2.20.1
-
package/libssh/0002-channels-Avoid-returning-SSH_AGAIN-from-ssh_channel_.patch deleted +0 -45

45 lines not on this page · raw message

package/libssh/libssh.hash +2 -2
index 62b860300a..bc6fa3f1f8 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-# https://www.libssh.org/files/0.9/libssh-0.9.3.tar.xz.asc
+# https://www.libssh.org/files/0.9/libssh-0.9.5.tar.xz.asc
 # with key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
-sha256  150897a569852ac05aac831dc417a7ba8e610c86ca2e0154a99c6ade2486226b  libssh-0.9.4.tar.xz
+sha256  acffef2da98e761fc1fd9c4fddde0f3af60ab44c4f5af05cd1b2d60a3fa08718  libssh-0.9.5.tar.xz
 sha256  1656186e951db1c010a8485481fa94587f7e53a26d24976bef97945ad0c4df5a  COPYING
package/libssh/libssh.mk +1 -1
index abc9aec9a3..67e3ad9f91 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 LIBSSH_VERSION_MAJOR = 0.9
-LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).4
+LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).5
 LIBSSH_SOURCE = libssh-$(LIBSSH_VERSION).tar.xz
 LIBSSH_SITE = https://www.libssh.org/files/$(LIBSSH_VERSION_MAJOR)
 LIBSSH_LICENSE = LGPL-2.1
Signature · 1 line
2.28.0
#2 lore raw

PATCH 1/1 package/libssh: security bump to version 0.9.5

In reply to Fabrice Fontaine
Quoted 5 lines · On Fri, 11 Sep 2020 23:03:06 +0200 Fabrice Fontaine…

- Drop patches (already in version)
- Fix CVE-2020-16135: libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL.

Quoted 8 lines
---
 .../0001-libssh.h-bump-to-version-0.9.4.patch | 29 ------------
 ...eturning-SSH_AGAIN-from-ssh_channel_.patch | 45 -------------------
 package/libssh/libssh.hash                    |  4 +-
 package/libssh/libssh.mk                      |  2 +-
 4 files changed, 3 insertions(+), 77 deletions(-)
 delete mode 100644 package/libssh/0001-libssh.h-bump-to-version-0.9.4.patch
 delete mode 100644 package/libssh/0002-channels-Avoid-returning-SSH_AGAIN-from-ssh_channel_.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 package/libssh: security bump to version 0.9.5

In reply to Fabrice Fontaine
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

- Drop patches (already in version)
- Fix CVE-2020-16135: libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL.

Committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard