Skip to contentSkip to conversation

package/openssh: security bump to version 8.4p1

PATCH New Christian Stewart 2 participants 4 messages Mar 1, 2021 – Mar 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/openssh: security bump to version 8.4p1

From: Baruch Siach <[email protected]>

Fixes CVE-2020-15778: scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destination argument. NOTE: the vendor reportedly has stated that they intentionally omit validation of "anomalous argument transfers" because that could "stand a great chance of breaking existing workflows."

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15778

---
 package/openssh/openssh.hash | 2 +-
 package/openssh/openssh.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
package/openssh/openssh.hash +1 -1
index 1d7dc14fb6..3e0dddf54a 100644
@@ -1,4 +1,4 @@
 # From https://www.openssh.com/txt/release-8.3 (base64 encoded)
-sha256  f2befbe0472fe7eb75d23340eb17531cb6b3aac24075e2066b41f814e12387b2  openssh-8.3p1.tar.gz
+sha256  5a01d22e407eb1c05ba8a8f7c654d388a13e9f226e4ed33bd38748dafa1d2b24  openssh-8.4p1.tar.gz
 # Locally calculated
 sha256  73d0db766229670c7b4e1ec5e6baed54977a0694a565e7cc878c45ee834045d7  LICENCE
package/openssh/openssh.mk +3 -3
index edcbfc2f62..c74f5af8ed 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-OPENSSH_VERSION = 8.3p1
-OPENSSH_CPE_ID_VERSION = 8.3
-OPENSSH_CPE_ID_UPDATE = p1
+OPENSSH_VERSION = 8.4p1
+OPENSSH_CPE_ID_VERSION = 8.4
+OPENSSH_CPE_ID_VERSION_MINOR = p1
 OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable
 OPENSSH_LICENSE = BSD-3-Clause, BSD-2-Clause, Public Domain
 OPENSSH_LICENSE_FILES = LICENCE
Signature · 1 line
2.30.1
#1 lore raw

PATCH v2 1/1 package/openssh: security bump to version 8.4p1

All,

Quoted 2 lines · Christian Stewart

From: Baruch Siach <[email protected]>

...sigh... not sure why Git decided Baruch was the author of this one.

Quoted 7 lines

Fixes CVE-2020-15778: scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destination argument. NOTE: the vendor reportedly has stated that they intentionally omit validation of "anomalous argument transfers" because that could "stand a great chance of breaking existing workflows."

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15778

This vulnerability still exists in openssh in Buildroot 2021.02-rc3.

Best regards,
Christian Stewart

#2 lore raw

PATCH v2 1/1 package/openssh: security bump to version 8.4p1

In reply to Christian Stewart
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Christian" == Christian Stewart <[email protected]> writes:

From: Baruch Siach <[email protected]>

That is (presumably) incorrect.

Quoted 19 lines

Fixes CVE-2020-15778: scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destination argument. NOTE: the vendor reportedly has stated that they intentionally omit validation of "anomalous argument transfers" because that could "stand a great chance of breaking existing workflows."

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15778

---
 package/openssh/openssh.hash | 2 +-
 package/openssh/openssh.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
package/openssh/openssh.hash +0 -0
index 1d7dc14fb6..3e0dddf54a 100644

package/openssh/openssh.hash line 1

Quoted 1 line
package/openssh/openssh.hash +0 -0
@@ -1,4 +1,4 @@
 # From https://www.openssh.com/txt/release-8.3 (base64 encoded)

This should be updated for 8.4.

Quoted 9 lines
package/openssh/openssh.hash +1 -1
-sha256  f2befbe0472fe7eb75d23340eb17531cb6b3aac24075e2066b41f814e12387b2  openssh-8.3p1.tar.gz
+sha256  5a01d22e407eb1c05ba8a8f7c654d388a13e9f226e4ed33bd38748dafa1d2b24  openssh-8.4p1.tar.gz
 # Locally calculated
 sha256  73d0db766229670c7b4e1ec5e6baed54977a0694a565e7cc878c45ee834045d7  LICENCE
package/openssh/openssh.mk +0 -0
index edcbfc2f62..c74f5af8ed 100644

package/openssh/openssh.mk line 9

Quoted 9 lines
package/openssh/openssh.mk +3 -3
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-OPENSSH_VERSION = 8.3p1
-OPENSSH_CPE_ID_VERSION = 8.3
-OPENSSH_CPE_ID_UPDATE = p1
+OPENSSH_VERSION = 8.4p1
+OPENSSH_CPE_ID_VERSION = 8.4
+OPENSSH_CPE_ID_VERSION_MINOR = p1

Why? There isn't a _CPE_ID_VERSION_MINOR variable in our infrastructure. Changed it back to _CPE_ID_UPDATE.

Committed with these fixes, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH v2 1/1 package/openssh: security bump to version 8.4p1

In reply to Christian Stewart
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Christian" == Christian Stewart <[email protected]> writes:

From: Baruch Siach <[email protected]>
Fixes CVE-2020-15778: scp in OpenSSH through 8.3p1 allows command injection in the scp.c toremote function, as demonstrated by backtick characters in the destination argument. NOTE: the vendor reportedly has stated that they intentionally omit validation of "anomalous argument transfers" because that could "stand a great chance of breaking existing workflows."

Quoted 3 lines

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15778

Committed to 2020.02.x and 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard