Fedora 25 : gd (2017-bab5698540)

critical Nessus Plugin ID 96707

Language:

Synopsis

The remote Fedora host is missing a security update.

Description

## Version 2.2.4 - 2017-01-18

### Security

- gdImageCreate() doesn't check for oversized images and as such is prone to DoS vulnerabilities. (CVE-2016-9317)

- double-free in gdImageWebPtr() (CVE-2016-6912)

- potential unsigned underflow in gd_interpolation.c

- DOS vulnerability in gdImageCreateFromGd2Ctx()

### Fixed

- Fix #354: Signed Integer Overflow gd_io.c

- Fix #340: System frozen

- Fix OOB reads of the TGA decompression buffer

- Fix DOS vulnerability in gdImageCreateFromGd2Ctx()

- Fix potential unsigned underflow

- Fix double-free in gdImageWebPtr()

- Fix invalid read in gdImageCreateFromTiffPtr()

- Fix OOB reads of the TGA decompression buffer

- Fix #68: gif: buffer underflow reported by AddressSanitizer

- Avoid potentially dangerous signed to unsigned conversion

- Fix #304: test suite failure in gif/bug00006 [2.2.3]

- Fix #329: GD_BILINEAR_FIXED gdImageScale() can cause black border

- Fix #330: Integer overflow in gdImageScaleBilinearPalette()

- Fix 321: NULL pointer dereferences in gdImageRotateInterpolated

- Fix whitespace and add missing comment block

- Fix #319: gdImageRotateInterpolated can have wrong background color

- Fix color quantization documentation

- Fix #309: gdImageGd2() writes wrong chunk sizes on boundaries

- Fix #307: GD_QUANT_NEUQUANT fails to unset trueColor flag

- Fix #300: gdImageClone() assigns res_y = res_x

- Fix #299: Regression regarding gdImageRectangle() with gdImageSetThickness()

- Replace GNU old-style field designators with C89 compatible initializers

- Fix #297: gdImageCrop() converts palette image to truecolor image

- Fix #290: TGA RLE decoding is broken

- Fix unnecessary non NULL checks

- Fix #289: Passing unrecognized formats to gdImageGd2 results in corrupted files

- Fix #280: gdImageWebpEx() `quantization` parameter is a misnomer

- Publish all gdImageCreateFromWebp*() functions and gdImageWebpCtx()

- Fix issue #276: Sometimes pixels are missing when storing images as BMPs

- Fix issue #275: gdImageBmpCtx() may segfault for non-seekable contexts

- Fix copy&paste error in gdImageScaleBicubicFixed()

### Added

- More documentation

- Documentation on GD and GD2 formats

- More tests

Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website.
Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected gd package.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2017-bab5698540

Plugin Details

Severity: Critical

ID: 96707

File Name: fedora_2017-bab5698540.nasl

Version: 3.6

Type: local

Agent: unix

Published: 1/24/2017

Updated: 1/6/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: cpe:/o:fedoraproject:fedora:25, p-cpe:/a:fedoraproject:fedora:gd

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Patch Publication Date: 1/23/2017

Vulnerability Publication Date: 1/26/2017

Reference Information

CVE: CVE-2016-6912, CVE-2016-9317