package/jq: security bump to version 1.8.1
PATCH v2 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
Fixes the following security issues:
- CVE-2025-49014
Fix heap use after free in f_strftime, f_strflocaltime.
- GHSA-f946-j5j2-4w5m
Fix stack overflow in node_min_byte_len of oniguruma.
---
v1->v2:
* Updated COPYING hash (Thomas P)
package/jq/jq.hash | 4 ++-- package/jq/jq.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/jq/jq.hash +2 -2
@@ -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 +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -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_FILES = COPYING
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Angelo,
Thanks for the patch!
I have few comments, see below.
Quoted 5 lines · Angelo Compagnucci
Changelog:
https://github.com/jqlang/jq/releases/tag/jq-1.8.1COPYING:
Add LICENSE notice of NetBSD'sstrptime()to COPYING
When there is a change in the license text, it is preferable to provide a link of the upstream commit of the change, if available. This makes reviews easier. In that case, it is:
https://github.com/jqlang/jq/commit/78045d8aa9d155ec0f82ab102aa752300c2349f1
Looking at this change, I see it is introducing a new BSD-2-Clause paragraph for strptime(). So the JQ_LICENSE variable would also need to be updated accordingly. See below.
Quoted 4 lines
Fixes the following security issues:
- CVE-2025-49014
Fix heap use after free inf_strftime,f_strflocaltime.
To make review faster, could you add a direct link to the CVE, please?
https://www.cve.org/CVERecord?id=CVE-2025-49014
Quoted 3 lines
- GHSA-f946-j5j2-4w5m
Fix stack overflow innode_min_byte_lenof oniguruma.
Same comment here:
https://github.com/jqlang/jq/security/advisories/GHSA-f946-j5j2-4w5m
Quoted 38 lines
Signed-off-by Angelo Compagnucci <[email protected]>---
v1->v2:
* Updated COPYING hash (Thomas P)package/jq/jq.hash | 4 ++-- package/jq/jq.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)package/jq/jq.hash +0
-1@@ -1,3 +1,3 @@ # Locally calculated -sha256
91811577f91d9a6195ff50c2bffec9b72c8429dc05ec3ea022fd95c06d2b319cjq-1.8.0.tar.gz -sha256ea9e53f5974239869c51ace8bb6849c9751dee7c9d592180957987a1a133caffCOPYING +sha2562be64e7129cecb11d5906290eba10af694fb9e3e7f9fc208a311dc33ca837eb0jq-1.8.1.tar.gz +sha256ad2b4a266b2268939c1446979759706077421cf906a203aa188c6f396e8cfd74COPYINGpackage/jq/jq.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -JQ_VERSION = 1.8.0 +JQ_VERSION = 1.8.1 JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
Quoted 1 line
JQ_LICENSE= MIT (code), ICU (decNumber), CC-BY-3.0 (documentation)
Here, we should update _LICENSE to include the new BSD-2-Clause:
JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation), BSD-2-Clause (strptime)
Quoted 3 lines
JQ_LICENSE_FILES= COPYING
--
2.34.1
Could you send an updated patch, please?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot