Skip to contentSkip to conversation

package/jq: security bump to version 1.8.1

PATCH Applied Angelo Compagnucci 3 participants 3 messages Aug 20, 2025 – Sep 8, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 package/jq: security bump to version 1.8.1

Changelog:
https://github.com/jqlang/jq/releases/tag/jq-1.8.1

COPYING:
Add LICENSE notice of NetBSD's strptime() to COPYING
https://github.com/jqlang/jq/commit/78045d8aa9d155ec0f82ab102aa752300c2349f1

Fixes the following security issues:

- CVE-2025-49014: Fix heap use after free in f_strftime, f_strflocaltime.

https://www.cve.org/CVERecord?id=CVE-2025-49014

- GHSA-f946-j5j2-4w5m: Fix stack overflow in node_min_byte_len of oniguruma.

https://github.com/jqlang/jq/security/advisories/GHSA-f946-j5j2-4w5m

---
v1->v2:
* Updated COPYING hash (Thomas P)
v2->v3:
* Adding new license (Julien Olivain)
* Adding security issues links (Julien Olivain)

 package/jq/jq.hash | 4 ++--
 package/jq/jq.mk   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
package/jq/jq.hash +2 -2
index 344f73d463..4596134620 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  91811577f91d9a6195ff50c2bffec9b72c8429dc05ec3ea022fd95c06d2b319c  jq-1.8.0.tar.gz
-sha256  ea9e53f5974239869c51ace8bb6849c9751dee7c9d592180957987a1a133caff  COPYING
+sha256  2be64e7129cecb11d5906290eba10af694fb9e3e7f9fc208a311dc33ca837eb0  jq-1.8.1.tar.gz
+sha256  ad2b4a266b2268939c1446979759706077421cf906a203aa188c6f396e8cfd74  COPYING
package/jq/jq.mk +3 -2
index f3f4704f37..c1b47ce829 100644
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-JQ_VERSION = 1.8.0
+JQ_VERSION = 1.8.1
 JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
-JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation)
+JQ_LICENSE = JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation),
+	BSD-2-Clause (strptime)
 JQ_LICENSE_FILES = COPYING
 JQ_CPE_ID_VALID = YES
 JQ_INSTALL_STAGING = YES
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 46 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Angelo" == Angelo Compagnucci <[email protected]> writes:

Changelog:
https://github.com/jqlang/jq/releases/tag/jq-1.8.1

COPYING:
Add LICENSE notice of NetBSD's strptime() to COPYING
https://github.com/jqlang/jq/commit/78045d8aa9d155ec0f82ab102aa752300c2349f1

Fixes the following security issues:

- CVE-2025-49014: Fix heap use after free in f_strftime, f_strflocaltime.

https://www.cve.org/CVERecord?id=CVE-2025-49014

- GHSA-f946-j5j2-4w5m: Fix stack overflow in node_min_byte_len of oniguruma.

https://github.com/jqlang/jq/security/advisories/GHSA-f946-j5j2-4w5m

---
v1-> v2:
* Updated COPYING hash (Thomas P)
v2-> v3:
* Adding new license (Julien Olivain)
* Adding security issues links (Julien Olivain)

 package/jq/jq.hash | 4 ++--
 package/jq/jq.mk   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
package/jq/jq.hash +2 -2
index 344f73d463..4596134620 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  91811577f91d9a6195ff50c2bffec9b72c8429dc05ec3ea022fd95c06d2b319c  jq-1.8.0.tar.gz
-sha256  ea9e53f5974239869c51ace8bb6849c9751dee7c9d592180957987a1a133caff  COPYING
+sha256  2be64e7129cecb11d5906290eba10af694fb9e3e7f9fc208a311dc33ca837eb0  jq-1.8.1.tar.gz
+sha256  ad2b4a266b2268939c1446979759706077421cf906a203aa188c6f396e8cfd74  COPYING
package/jq/jq.mk +0 -0
index f3f4704f37..c1b47ce829 100644

package/jq/jq.mk line 10

Quoted 9 lines
package/jq/jq.mk +3 -2
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-JQ_VERSION = 1.8.0
+JQ_VERSION = 1.8.1
 JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
-JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation)
+JQ_LICENSE = JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation),
+	BSD-2-Clause (strptime)

This is not even legal make syntax :( Fixed that and committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Angelo Compagnucci

In reply of:

Quoted 11 lines

Changelog:
https://github.com/jqlang/jq/releases/tag/jq-1.8.1

COPYING:
Add LICENSE notice of NetBSD's strptime() to COPYING
https://github.com/jqlang/jq/commit/78045d8aa9d155ec0f82ab102aa752300c2349f1

Fixes the following security issues:

- CVE-2025-49014: Fix heap use after free in f_strftime, f_strflocaltime.

Quoted 7 lines

https://www.cve.org/CVERecord?id=CVE-2025-49014

- GHSA-f946-j5j2-4w5m: Fix stack overflow in node_min_byte_len of oniguruma.

https://github.com/jqlang/jq/security/advisories/GHSA-f946-j5j2-4w5m

Applied to 2025.05.x. Thanks

Quoted 45 lines

---
v1->v2:
* Updated COPYING hash (Thomas P)
v2->v3:
* Adding new license (Julien Olivain)
* Adding security issues links (Julien Olivain)

 package/jq/jq.hash | 4 ++--
 package/jq/jq.mk   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
package/jq/jq.hash +2 -2
index 344f73d463..4596134620 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  91811577f91d9a6195ff50c2bffec9b72c8429dc05ec3ea022fd95c06d2b319c  jq-1.8.0.tar.gz
-sha256  ea9e53f5974239869c51ace8bb6849c9751dee7c9d592180957987a1a133caff  COPYING
+sha256  2be64e7129cecb11d5906290eba10af694fb9e3e7f9fc208a311dc33ca837eb0  jq-1.8.1.tar.gz
+sha256  ad2b4a266b2268939c1446979759706077421cf906a203aa188c6f396e8cfd74  COPYING
package/jq/jq.mk +3 -2
index f3f4704f37..c1b47ce829 100644
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-JQ_VERSION = 1.8.0
+JQ_VERSION = 1.8.1
 JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
-JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation)
+JQ_LICENSE = JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation),
+	BSD-2-Clause (strptime)
 JQ_LICENSE_FILES = COPYING
 JQ_CPE_ID_VALID = YES
 JQ_INSTALL_STAGING = YES
Signature · 6 lines
2.34.1

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

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