Skip to contentSkip to conversation

package/lynx: add security patch for CVE-2021-38165

PATCH Applied Peter Korsgaard 2 participants 2 messages Sep 21, 2021 – Sep 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lynx: add security patch for CVE-2021-38165

Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.

https://lists.nongnu.org/archive/html/lynx-dev/2021-08/msg00002.html

Upstream unfortunately does not provide a public VCS (only source snapshots), so fetch the security patch from Debian.

---
 package/lynx/lynx.hash | 1 +
 package/lynx/lynx.mk   | 4 ++++
 2 files changed, 5 insertions(+)
package/lynx/lynx.hash +1 -0
index 76d7614a7c..62e2555a99 100644
@@ -1,3 +1,4 @@
 # Locally calculated:
 sha256  387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595  lynx2.8.9rel.1.tar.bz2
+sha256  b2207e757dbbefc34a20a32b1b4a216b4a4316e1dc812bceca4ac6294871119a  90_CVE-2021-38165.patch
 sha256  8406a30ff3134ec23cf752d1ceda92ddaabbe41b4f2dc07ea3cfa139de12d6d6  COPYING
package/lynx/lynx.mk +4 -0
index d115682d64..44d52d90a5 100644
@@ -7,6 +7,10 @@
 LYNX_VERSION = 2.8.9rel.1
 LYNX_SOURCE = lynx$(LYNX_VERSION).tar.bz2
 LYNX_SITE = ftp://ftp.invisible-island.net/lynx/tarballs
+LYNX_PATCH = \
+	https://salsa.debian.org/lynx-team/lynx/-/raw/debian/2.9.0dev.6-3_deb11u1/debian/patches/90_CVE-2021-38165.patch
+# 90_CVE-2021-38165.patch
+LYNX_IGNORE_CVES += CVE-2021-38165
 LYNX_LICENSE = GPL-2.0
 LYNX_LICENSE_FILES = COPYING
 
Signature · 6 lines
2.20.1

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

Lynx through 2.8.9 mishandles the userinfo subcomponent of a URI, which allows remote attackers to discover cleartext credentials because they may appear in SNI data.

https://lists.nongnu.org/archive/html/lynx-dev/2021-08/msg00002.html

Upstream unfortunately does not provide a public VCS (only source snapshots), so fetch the security patch from Debian.

Applied to master, thanks.

Regards,
Arnout

Quoted 20 lines
---
  package/lynx/lynx.hash | 1 +
  package/lynx/lynx.mk   | 4 ++++
  2 files changed, 5 insertions(+)
package/lynx/lynx.hash +1 -0
index 76d7614a7c..62e2555a99 100644
@@ -1,3 +1,4 @@
  # Locally calculated:
  sha256  387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595  lynx2.8.9rel.1.tar.bz2
+sha256  b2207e757dbbefc34a20a32b1b4a216b4a4316e1dc812bceca4ac6294871119a  90_CVE-2021-38165.patch
  sha256  8406a30ff3134ec23cf752d1ceda92ddaabbe41b4f2dc07ea3cfa139de12d6d6  COPYING
package/lynx/lynx.mk +0 -0
index d115682d64..44d52d90a5 100644

package/lynx/lynx.mk line 16

Quoted 10 lines
package/lynx/lynx.mk +4 -0
@@ -7,6 +7,10 @@
  LYNX_VERSION = 2.8.9rel.1
  LYNX_SOURCE = lynx$(LYNX_VERSION).tar.bz2
  LYNX_SITE = ftp://ftp.invisible-island.net/lynx/tarballs
+LYNX_PATCH = \
+	https://salsa.debian.org/lynx-team/lynx/-/raw/debian/2.9.0dev.6-3_deb11u1/debian/patches/90_CVE-2021-38165.patch
+# 90_CVE-2021-38165.patch
+LYNX_IGNORE_CVES += CVE-2021-38165
  LYNX_LICENSE = GPL-2.0
  LYNX_LICENSE_FILES = COPYING
 

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