Skip to contentSkip to conversation

package/libopenssl: security bump to version 1.1.1o

PATCH Applied Peter Korsgaard 2 participants 3 messages May 4, 2022 – May 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libopenssl: security bump to version 1.1.1o

Fixes the following security issues:

- The c_rehash script allows command injection (CVE-2022-1292)

The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script.

Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool.

https://www.openssl.org/news/secadv/20220503.txt

---
 package/libopenssl/libopenssl.hash | 4 ++--
 package/libopenssl/libopenssl.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/libopenssl/libopenssl.hash +2 -2
index 22bb365bcc..ec5fd0fe84 100644
@@ -1,5 +1,5 @@
-# From https://www.openssl.org/source/openssl-1.1.1n.tar.gz.sha256
-sha256  40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a  openssl-1.1.1n.tar.gz
+# From https://www.openssl.org/source/openssl-1.1.1o.tar.gz.sha256
+sha256  9384a2b0570dd80358841464677115df785edb941c71211f75076d72fe6b438f  openssl-1.1.1o.tar.gz
 
 # License files
 sha256  c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c  LICENSE
package/libopenssl/libopenssl.mk +1 -1
index ae6658ed40..0c039dc7d6 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBOPENSSL_VERSION = 1.1.1n
+LIBOPENSSL_VERSION = 1.1.1o
 LIBOPENSSL_SITE = https://www.openssl.org/source
 LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz
 LIBOPENSSL_LICENSE = OpenSSL or SSLeay
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · Peter Korsgaard

Fixes the following security issues:

- The c_rehash script allows command injection (CVE-2022-1292)

The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script.

Quoted 6 lines

Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool.

https://www.openssl.org/news/secadv/20220503.txt

Applied to master, thanks.

Regards,
Arnout

Quoted 22 lines
---
  package/libopenssl/libopenssl.hash | 4 ++--
  package/libopenssl/libopenssl.mk   | 2 +-
  2 files changed, 3 insertions(+), 3 deletions(-)
package/libopenssl/libopenssl.hash +2 -2
index 22bb365bcc..ec5fd0fe84 100644
@@ -1,5 +1,5 @@
-# From https://www.openssl.org/source/openssl-1.1.1n.tar.gz.sha256
-sha256  40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a  openssl-1.1.1n.tar.gz
+# From https://www.openssl.org/source/openssl-1.1.1o.tar.gz.sha256
+sha256  9384a2b0570dd80358841464677115df785edb941c71211f75076d72fe6b438f  openssl-1.1.1o.tar.gz
 
  # License files
  sha256  c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c  LICENSE
package/libopenssl/libopenssl.mk +0 -0
index ae6658ed40..0c039dc7d6 100644

package/libopenssl/libopenssl.mk line 10

Quoted 8 lines
package/libopenssl/libopenssl.mk +1 -1
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-LIBOPENSSL_VERSION = 1.1.1n
+LIBOPENSSL_VERSION = 1.1.1o
  LIBOPENSSL_SITE = https://www.openssl.org/source
  LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz
  LIBOPENSSL_LICENSE = OpenSSL or SSLeay

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Peter Korsgaard
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Fixes the following security issues:
- The c_rehash script allows command injection (CVE-2022-1292)

The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script.

Quoted 6 lines

Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool.

https://www.openssl.org/news/secadv/20220503.txt

Committed to 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot