FreeBSD : json-c -- integer overflow and out-of-bounds write via a large JSON file (abc3ef37-95d4-11ea-9004-25fadb81abf4)

high Nessus Plugin ID 136635

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Tobias Stockmann reports :

I have discovered a way to trigger an out of boundary write while parsing a huge json file through a malicious input source. It can be triggered if an attacker has control over the input stream or if a huge load during filesystem operations can be triggered.

Solution

Update the affected package.

See Also

https://github.com/json-c/json-c/pull/592

https://github.com/json-c/json-c/pull/599

http://www.nessus.org/u?8a13aed0

Plugin Details

Severity: High

ID: 136635

File Name: freebsd_pkg_abc3ef3795d411ea900425fadb81abf4.nasl

Version: 1.4

Type: local

Published: 5/15/2020

Updated: 3/12/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-12762

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:json-c

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2020

Vulnerability Publication Date: 5/2/2020

Reference Information

CVE: CVE-2020-12762