Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7
@ 2026-11-24 10:35 Frank Vanbever
  2026-11-24 10:35 ` [Buildroot] [PATCH 2/2] package/libmodsecurity: security bump version to 3.0.17 Frank Vanbever
  2026-11-24 11:45 ` [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7 Julien Olivain via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Vanbever @ 2026-11-24 10:35 UTC (permalink / raw)
  To: buildroot; +Cc: Frank Vanbever

Since version 3.0.13, libmodsecurity requires a C++17 compiler [1].
With older compilers it fails with:

  configure: error: *** A compiler with support for C++17 language features is required.

gcc 7 is the first version providing C++17 support, so a dependency
on BR2_TOOLCHAIN_GCC_AT_LEAST_7 is required.

[1] https://github.com/owasp-modsecurity/ModSecurity/pull/3079

Signed-off-by: Frank Vanbever <fvb@funkworks.be>
---
 package/libmodsecurity/Config.in    | 6 ++++--
 package/nginx-modsecurity/Config.in | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/package/libmodsecurity/Config.in b/package/libmodsecurity/Config.in
index da14b21669..1abf088f23 100644
--- a/package/libmodsecurity/Config.in
+++ b/package/libmodsecurity/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBMODSECURITY
 	bool "libmodsecurity"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# libmodsecurity embeds several mbedtls source files, causing
 	# various issues when static linking and other dependencies of
@@ -19,6 +20,7 @@ config BR2_PACKAGE_LIBMODSECURITY
 
 	  https://github.com/owasp-modsecurity/ModSecurity
 
-comment "libmodsecurity needs a toolchain w/ C++, threads, dynamic library"
+comment "libmodsecurity needs a toolchain w/ C++, threads, dynamic library, gcc >= 7"
 	depends on !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
diff --git a/package/nginx-modsecurity/Config.in b/package/nginx-modsecurity/Config.in
index 94f0ff0a45..130190ecbd 100644
--- a/package/nginx-modsecurity/Config.in
+++ b/package/nginx-modsecurity/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_NGINX_MODSECURITY
 	bool "nginx-modsecurity"
 	depends on BR2_PACKAGE_NGINX_HTTP
 	depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libmodsecurity
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libmodsecurity
 	depends on !BR2_STATIC_LIBS # libmodsecurity
 	select BR2_PACKAGE_LIBMODSECURITY
@@ -12,7 +13,8 @@ config BR2_PACKAGE_NGINX_MODSECURITY
 
 	  https://github.com/owasp-modsecurity/ModSecurity-nginx
 
-comment "nginx-modsecurity needs a toolchain w/ C++, threads, dynamic library"
+comment "nginx-modsecurity needs a toolchain w/ C++, threads, dynamic library, gcc >= 7"
 	depends on BR2_PACKAGE_NGINX_HTTP
 	depends on !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] package/libmodsecurity: security bump version to 3.0.17
  2026-11-24 10:35 [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7 Frank Vanbever
@ 2026-11-24 10:35 ` Frank Vanbever
  2026-11-24 11:45 ` [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7 Julien Olivain via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Vanbever @ 2026-11-24 10:35 UTC (permalink / raw)
  To: buildroot; +Cc: Frank Vanbever

https://github.com/owasp-modsecurity/ModSecurity/blob/v3.0.17/CHANGES

Fixes the following security issues:

- CVE-2026-61812: HTML decoder missing entities, leading to evasion
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-cxqf-vgrr-xxrv

- CVE-2026-61813: Incorrect libcurl TLS hostname verification setting
  in HttpsClient::download
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-2vqc-36qp-ccmw

- CVE-2026-73856: Response body inspection bypass
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-vmg8-j66p-vgvw

- CVE-2026-73857: XML request body processor uninitialized pointer
  dereference
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-jx3r-phvx-2jmj

- CVE-2026-103932: PCRE2 @rxGlobal match-limit errors are converted to
  no-match
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-5m93-4h75-3p2w

- CVE-2026-104259: removeComments transformation fails to strip
  adjacent comments
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-qrch-pjfr-9g47

- CVE-2026-104269: RFC 2231 filename* parameter bypasses multipart
  filename rules
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-5pww-8rfg-9crf

- GHSA-4j47-8qcr-jf59: t:base64DecodeExt discards the decoded value on
  malformed base64 padding (no CVE assigned)
  https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-4j47-8qcr-jf59

Signed-off-by: Frank Vanbever <fvb@funkworks.be>
---
 package/libmodsecurity/libmodsecurity.hash | 4 ++--
 package/libmodsecurity/libmodsecurity.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libmodsecurity/libmodsecurity.hash b/package/libmodsecurity/libmodsecurity.hash
index 011059d91d..25ef142383 100644
--- a/package/libmodsecurity/libmodsecurity.hash
+++ b/package/libmodsecurity/libmodsecurity.hash
@@ -1,5 +1,5 @@
-# From https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.16/modsecurity-v3.0.16.tar.gz.sha256
-sha256  739be3c71b1939f14e91afe1eeae654acbd440da11bd29790458840bc315b4c0  modsecurity-v3.0.16.tar.gz
+# From https://github.com/owasp-modsecurity/ModSecurity/releases/download/v3.0.17/modsecurity-v3.0.17.tar.gz.sha256
+sha256  f283b33d5c21130fd3a15c84a93a1abe12bd1949edaf44288b12af571b671a50  modsecurity-v3.0.17.tar.gz
 
 # Locally calculated
 sha256  c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4  LICENSE
diff --git a/package/libmodsecurity/libmodsecurity.mk b/package/libmodsecurity/libmodsecurity.mk
index 653b4fd159..05f6d95f22 100644
--- a/package/libmodsecurity/libmodsecurity.mk
+++ b/package/libmodsecurity/libmodsecurity.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBMODSECURITY_VERSION = 3.0.16
+LIBMODSECURITY_VERSION = 3.0.17
 LIBMODSECURITY_SOURCE = modsecurity-v$(LIBMODSECURITY_VERSION).tar.gz
 LIBMODSECURITY_SITE = https://github.com/owasp-modsecurity/ModSecurity/releases/download/v$(LIBMODSECURITY_VERSION)
 LIBMODSECURITY_INSTALL_STAGING = YES
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7
  2026-11-24 10:35 [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7 Frank Vanbever
  2026-11-24 10:35 ` [Buildroot] [PATCH 2/2] package/libmodsecurity: security bump version to 3.0.17 Frank Vanbever
@ 2026-11-24 11:45 ` Julien Olivain via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-24 11:45 UTC (permalink / raw)
  To: Frank Vanbever; +Cc: buildroot

On 24/11/2026 11:35, Frank Vanbever wrote:
> Since version 3.0.13, libmodsecurity requires a C++17 compiler [1].
> With older compilers it fails with:
> 
>   configure: error: *** A compiler with support for C++17 language 
> features is required.
> 
> gcc 7 is the first version providing C++17 support, so a dependency
> on BR2_TOOLCHAIN_GCC_AT_LEAST_7 is required.
> 
> [1] https://github.com/owasp-modsecurity/ModSecurity/pull/3079
> 
> Signed-off-by: Frank Vanbever <fvb@funkworks.be>

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-24 11:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 10:35 [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7 Frank Vanbever
2026-11-24 10:35 ` [Buildroot] [PATCH 2/2] package/libmodsecurity: security bump version to 3.0.17 Frank Vanbever
2026-11-24 11:45 ` [Buildroot] [PATCH 1/2] package/libmodsecurity: needs gcc >= 7 Julien Olivain via buildroot

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