Headline
Gentoo Linux Security Advisory 202408-08
Gentoo Linux Security Advisory 202408-8 - A vulnerability has been discovered in json-c, which can lead to a stack buffer overflow. Versions greater than or equal to 0.16 are affected.
Gentoo Linux Security Advisory GLSA 202408-08
https://security.gentoo.org/
Severity: Normal
Title: json-c: Buffer Overflow
Date: August 07, 2024
Bugs: #918555
ID: 202408-08
Synopsis
A vulnerability has been discovered in json-c, which can lead to a stack
buffer overflow.
Background
json-c is a JSON implementation in C.
Affected packages
Package Vulnerable Unaffected
dev-libs/json-c < 0.16 >= 0.16
Description
Please review the CVE identifier referenced below for details.
Impact
A stack-buffer-overflow exists in the auxiliary sample program
json_parse which is located in the function parseit.
Workaround
There is no known workaround at this time.
Resolution
All json-c users should upgrade to the latest version:
emerge --sync
emerge --ask --oneshot --verbose “>=dev-libs/json-c-0.16”
References
[ 1 ] CVE-2021-32292
https://nvd.nist.gov/vuln/detail/CVE-2021-32292
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202408-08
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users’ machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
Copyright 2024 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5
Related news
An issue exists in SoftIron HyperCloud where compute nodes may come online immediately without following the correct initialization process. In this instance, workloads may be scheduled on these nodes and deploy to a failed or erroneous state, which impacts the availability of these workloads that may be deployed during this time window. This issue impacts HyperCloud versions from 2.0.0 to before 2.0.3.
Debian Linux Security Advisory 5486-1 - An invalid memory access was discovered in json-c, a JSON library which could result in denial of service.
Ubuntu Security Notice 6310-1 - It was discovered that json-c incorrectly handled certain JSON files. An attacker could possibly use this issue to cause a crash or execute arbitrary code.
An issue was discovered in json-c through 0.15-20200726. A stack-buffer-overflow exists in the function parseit located in json_parse.c. It allows an attacker to cause code Execution.