mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] socat: version bump 1.8.0.3 -> 1.8.1.3
@ 2026-10-27 15:09 Sven Püschel
  0 siblings, 0 replies; only message in thread
From: Sven Püschel @ 2026-10-27 15:09 UTC (permalink / raw)
  To: ptxdist; +Cc: Sven Püschel

socat 1.8.1.2 fixes a heap buffer overflow for SOCKS5 (CVE-2026-56123):
http://www.dest-unreach.org/socat/CHANGES

Version 1.8.1 introduces two new addresses (STALL, TEXT). Enable them
similar to how all other adresses are enabled.

The license location in the README changed due to README updates, but
the actual license hash stayed the same.

Also add the CVE product id for socat.

Furthermore copy the socat1 file to resolve an symlink error message
generated during the targetinstall stage:

  ptxdist: error: file '[redact]/socat-1.8.1.3/usr/bin/socat' is a link
  using '[redact]/socat-1.8.1.3/usr/bin/socat1' instead

Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
---
 rules/socat.make | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/rules/socat.make b/rules/socat.make
index 3b2a8e6fa..786d89c6b 100644
--- a/rules/socat.make
+++ b/rules/socat.make
@@ -12,8 +12,8 @@ PACKAGES-$(PTXCONF_SOCAT) += socat
 # Paths and names
 #
 
-SOCAT_VERSION	:= 1.8.0.3
-SOCAT_SHA256	:= a9f9eb6cfb9aa6b1b4b8fe260edbac3f2c743f294db1e362b932eb3feca37ba4
+SOCAT_VERSION	:= 1.8.1.3
+SOCAT_SHA256	:= 06602ffd591e98c75b3dc1d66f0f19136cc666b0b2d95caad987d6ab2cb28097
 SOCAT		:= socat-$(SOCAT_VERSION)
 SOCAT_SUFFIX	:= tar.gz
 SOCAT_URL	:= \
@@ -24,8 +24,9 @@ SOCAT_DIR	:= $(BUILDDIR)/$(SOCAT)
 SOCAT_LICENSE	:= GPL-2.0-only AND MIT
 SOCAT_LICENSE_FILES := \
 	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-	file://README;startline=248;endline=281;md5=4e953b796133e1470eb57b3f59611720 \
+	file://README;startline=252;endline=285;md5=4e953b796133e1470eb57b3f59611720 \
 	file://install-sh;startline=6;endline=16;md5=6c39b6a36ad775d09cc9ee0e33fe9e6c
+SOCAT_CVE_PRODUCT := dest-unreach:socat
 
 # ----------------------------------------------------------------------------
 # Prepare
@@ -50,6 +51,8 @@ SOCAT_CONF_OPT	:= \
 	--enable-creat \
 	--enable-gopen \
 	--enable-pipe \
+	--enable-stall \
+	--enable-text \
 	--enable-socketpair \
 	--enable-termios \
 	--enable-unix \
@@ -107,7 +110,7 @@ $(STATEDIR)/socat.targetinstall:
 
 	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/procan)
 	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/filan)
-	@$(call install_copy, socat, 0, 0, 0755, -, /usr/bin/socat)
+	@$(call install_copy, socat, 0, 0, 0755, $(SOCAT_PKGDIR)/usr/bin/socat1, /usr/bin/socat)
 
 	@$(call install_finish, socat)
 
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-27 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 15:09 [ptxdist] [PATCH] socat: version bump 1.8.0.3 -> 1.8.1.3 Sven Püschel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox