<?xml version="1.0" encoding="UTF-8"?>
<cvrf:cvrfdoc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
    <cvrf:DocumentTitle>libgd.so need upgrade to v2.2.4</cvrf:DocumentTitle>
    <cvrf:DocumentType>Fortinet PSIRT Advisories</cvrf:DocumentType>
    <cvrf:DocumentPublisher Type="Vendor">
        <cvrf:ContactDetails>
            Fortinet PSIRT Contact:
            Website: https://fortiguard.fortinet.com/faq/psirt-contact
        </cvrf:ContactDetails>
     </cvrf:DocumentPublisher>
    <cvrf:DocumentTracking>
        <cvrf:Identification>
            <cvrf:ID>FG-IR-17-051</cvrf:ID>
        </cvrf:Identification>
        <cvrf:Status>Final</cvrf:Status>
        <cvrf:Version>1</cvrf:Version>
        <cvrf:RevisionHistory>
            <cvrf:Revision>
                <cvrf:Number>1</cvrf:Number>
                <cvrf:Date>2017-07-26T00:00:00</cvrf:Date>
                <cvrf:Description>Current version</cvrf:Description>
        </cvrf:Revision>
       </cvrf:RevisionHistory>
        <cvrf:InitialReleaseDate>2017-07-26T00:00:00</cvrf:InitialReleaseDate>
        <cvrf:CurrentReleaseDate>2017-07-26T00:00:00</cvrf:CurrentReleaseDate>
    </cvrf:DocumentTracking>
    <cvrf:DocumentNotes>
        <cvrf:Note Title="Summary" Type="Summary" Ordinal="1">
            The LibGD project released advisories on January 18th, 2017, July 22nd, 2016 and June 25th, 2016 describing 12 vulnerabilities, as listed below:gdImageCreate() doesn&#39;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 (CVE-2016-10166)DOS vulnerability in gdImageCreateFromGd2Ctx() (CVE-2016-10167)Signed Integer Overflow gd_io.c (CVE-2016-10168)Integer Overflow in _gd2GetHeader (CVE-2016-5766)Read out-of-bands was found in the parsing of TGA files (CVE-2016-6132)Buffer over-read issue when parsing crafted TGA file (CVE-2016-6214)Integer overflow error within _gdContributionsAlloc() (CVE-2016-6207)Invalid color index not handled, can lead to crash (CVE-2016-6128)Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow (CVE-2016-5767)Stack overflow with gdImageFillToBorder (CVE-2015-8874, CVE-2016-9933)
        </cvrf:Note>
        <cvrf:Note Title="Description" Type="General" Ordinal="2">
            The LibGD project released advisories on January 18th, 2017, July 22nd, 2016 and June 25th, 2016 describing 12 vulnerabilities, as listed below: * gdImageCreate() doesn&#39;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 (CVE-2016-10166)* DOS vulnerability in gdImageCreateFromGd2Ctx() (CVE-2016-10167)* Signed Integer Overflow gd_io.c (CVE-2016-10168)* Integer Overflow in _gd2GetHeader (CVE-2016-5766)* Read out-of-bands was found in the parsing of TGA files (CVE-2016-6132)* Buffer over-read issue when parsing crafted TGA file (CVE-2016-6214)* Integer overflow error within _gdContributionsAlloc() (CVE-2016-6207)* Invalid color index not handled, can lead to crash (CVE-2016-6128)* Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow (CVE-2016-5767)* Stack overflow with gdImageFillToBorder (CVE-2015-8874, CVE-2016-9933)
        </cvrf:Note>
        <cvrf:Note Title="Impact" Type="General" Ordinal="3">
            Denial of service
        </cvrf:Note>
        <cvrf:Note Title="Affected Products" Type="General" Ordinal="4">
            FortiOS version 5.4.4 and belowFortiAnalyzer version 5.4.2 and below
        </cvrf:Note>
        <cvrf:Note Title="Solutions" Type="General" Ordinal="5">
            FortiOS: Upgrade to firmware version 5.4.5 or 5.6.0FortiAnalyzer: Upgrade to firmware version 5.4.3
        </cvrf:Note>
    </cvrf:DocumentNotes>
    <cvrf:DocumentReferences>
        <cvrf:Reference>
            <cvrf:URL>https://fortiguard.fortinet.com/psirt/FG-IR-17-051</cvrf:URL>
            <cvrf:Description>libgd.so need upgrade to v2.2.4</cvrf:Description>
        </cvrf:Reference>
        <cvrf:Reference>
            <cvrf:URL>https://libgd.github.io/</cvrf:URL>
            <cvrf:Description>https://libgd.github.io/</cvrf:Description>
        </cvrf:Reference>
    </cvrf:DocumentReferences>
    <Vulnerability Ordinal="1">
        <Title>libgd.so need upgrade to v2.2.4</Title>
        <cvrf:CVE>CVE-2016-10166</cvrf:CVE>
        <cvrf:CVE>CVE-2016-10167</cvrf:CVE>
        <cvrf:CVE>CVE-2016-10168</cvrf:CVE>
        <cvrf:CVE>CVE-2016-6912</cvrf:CVE>
        <cvrf:CVE>CVE-2016-9317</cvrf:CVE>
        <CVSSScoreSets>
            <ScoreSetV3>
                <BaseScoreV3>7.5</BaseScoreV3>
                <VectorV3>CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:X/RC:X</VectorV3>
            </ScoreSetV3>
        </CVSSScoreSets>
        <References Type="Self">
            <Reference>
                <URL>https://fortiguard.fortinet.com/psirt/FG-IR-17-051</URL>
                <Description>libgd.so need upgrade to v2.2.4</Description>
            </Reference>Reference>
            <Reference>
                <URL>https://libgd.github.io/</URL>
                <Description>https://libgd.github.io/</Description>
            </Reference>
        </References>
    </Vulnerability>
</cvrf:cvrfdoc>