Debian DLA-3376-1 : svgpp - LTS security update

high Nessus Plugin ID 173788

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3376 advisory.

- An issue was discovered in Anti-Grain Geometry (AGG) 2.4 as used in SVG++ (aka svgpp) 1.2.3. In the function agg::cell_aa::not_equal, dx is assigned to (x2 - x1). If dx >= dx_limit, which is (16384 << poly_subpixel_shift), this function will call itself recursively. There can be a situation where (x2 - x1) is always bigger than dx_limit during the recursion, leading to continual stack consumption.
(CVE-2019-6245)

- An issue was discovered in Anti-Grain Geometry (AGG) 2.4 as used in SVG++ (aka svgpp) 1.2.3. A heap-based buffer overflow bug in svgpp_agg_render may lead to code execution. In the render_scanlines_aa_solid function, the blend_hline function is called repeatedly multiple times. blend_hline is equivalent to a loop containing write operations. Each call writes a piece of heap data, and multiple calls overwrite the data in the heap. (CVE-2019-6247)

- In SVGPP SVG++ library 1.3.0, the XMLDocument::getRoot function in the renderDocument function handled the XMLDocument object improperly, returning a null pointer in advance at the second if, resulting in a null pointer reference behind the renderDocument function. (CVE-2021-44960)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the svgpp packages.

For Debian 10 buster, these problems have been fixed in version 1.2.3+dfsg1-6+deb10u1.

See Also

https://security-tracker.debian.org/tracker/source-package/svgpp

https://www.debian.org/lts/security/2023/dla-3376

https://security-tracker.debian.org/tracker/CVE-2019-6245

https://security-tracker.debian.org/tracker/CVE-2019-6247

https://security-tracker.debian.org/tracker/CVE-2021-44960

https://packages.debian.org/source/buster/svgpp

Plugin Details

Severity: High

ID: 173788

File Name: debian_DLA-3376.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/3/2023

Updated: 4/19/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, 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-2019-6247

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/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: p-cpe:/a:debian:debian_linux:libsvgpp-dev, p-cpe:/a:debian:debian_linux:libsvgpp-doc, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/2/2023

Vulnerability Publication Date: 1/13/2019

Reference Information

CVE: CVE-2019-6245, CVE-2019-6247, CVE-2021-44960