[Buildroot] [git commit branch/2025.02.x] package/cjson: security bump to version 1.7.19
Arnout Vandecappelle
arnout at rnout.be
Thu Sep 25 20:07:07 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=e6423ca55045d27c85b4cdce279bf5415e968ad9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.02.x
Fixes the following security issue:
CVE-2025-57052: cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via
the decode_array_index_from_pointer function in cJSON_Utils.c, allowing
remote attackers to bypass array bounds checking and access restricted data
via malformed JSON pointer strings containing alphanumeric characters
https://nvd.nist.gov/vuln/detail/CVE-2025-57052
https://x-0r.com/posts/cJSON-Array-Index-Parsing-Vulnerability
https://github.com/DaveGamble/cJSON/commit/74e1ff4994aa4139126967f6d289b675b4b36fef
https://github.com/DaveGamble/cJSON/releases/tag/v1.7.19
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit a93602c00b355e54322c8b0ce0a1cea98ea202f9)
Signed-off-by: Thomas Perale <thomas.perale at mind.be>
---
package/cjson/cjson.hash | 2 +-
package/cjson/cjson.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash
index e07ae0f7bf..a876ffafe8 100644
--- a/package/cjson/cjson.hash
+++ b/package/cjson/cjson.hash
@@ -1,3 +1,3 @@
# Locally computed:
-sha256 3aa806844a03442c00769b83e99970be70fbef03735ff898f4811dd03b9f5ee5 cjson-1.7.18.tar.gz
+sha256 7fa616e3046edfa7a28a32d5f9eacfd23f92900fe1f8ccd988c1662f30454562 cjson-1.7.19.tar.gz
sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE
diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk
index b87ce97ca2..cb4525d1a4 100644
--- a/package/cjson/cjson.mk
+++ b/package/cjson/cjson.mk
@@ -4,7 +4,7 @@
#
################################################################################
-CJSON_VERSION = 1.7.18
+CJSON_VERSION = 1.7.19
CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION))
CJSON_INSTALL_STAGING = YES
CJSON_LICENSE = MIT
More information about the buildroot
mailing list