IBM SECURITY ADVISORY

First Issued: Thu Jan 19 13:15:23 CST 2023

The most recent version of this document is available here:
http://aix.software.ibm.com/aix/efixes/powersc/security/curl_advisory9.asc
https://aix.software.ibm.com/aix/efixes/powersc/security/curl_advisory9.asc
ftp://aix.software.ibm.com/aix/efixes/powersc/security/curl_advisory9.asc

Security Bulletin: Multiple vulnerabilities in Curl affect PowerSC

===============================================================================

SUMMARY:

    There are multiple vulnerabilities in Curl that affect PowerSC.


===============================================================================

VULNERABILITY DETAILS:

    CVEID: CVE-2022-32206
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32206
        https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32206
    DESCRIPTION: cURL libcurl is vulnerable to a denial of service, caused by
        a flaw in the number of acceptable "links" in the "chained" HTTP
        compression algorithms. By persuading a victim to connect a
        specially-crafted server, a remote attacker could exploit this
        vulnerability to insert a virtually unlimited number of compression
        steps, and results in a denial of service condition.
    CVSS Base score: 4.3
    CVSS Temporal Score: See:
        https://exchange.xforce.ibmcloud.com/vulnerabilities/229740
        for the current score.
    CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)

    CVEID: CVE-2022-32207
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32207
        https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32207
    DESCRIPTION: cURL libcurl could allow a remote attacker to obtain
        sensitive information, caused by improper preservation of permissions
        when saving cookies, alt-svc and hsts data to local files. By sending
        a specially-crafted request, an attacker could exploit this
        vulnerability to obtain sensitive information, and use this
        information to launch further attacks against the affected system.
    CVSS Base score: 7.5
    CVSS Temporal Score: See:
        https://exchange.xforce.ibmcloud.com/vulnerabilities/229741
        for the current score.
    CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)

    CVEID: CVE-2022-32208
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32208
        https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32208
    DESCRIPTION: cURL libcurl is vulnerable to a man-in-the-middle attack,
        caused by a flaw in the handling of message verification failures. An
        attacker could exploit this vulnerability to launch a man-in-the-middle
        attack and gain access to the communication channel between endpoints
        to inject data to the client.
    CVSS Base score: 3.5
    CVSS Temporal Score: See:
        https://exchange.xforce.ibmcloud.com/vulnerabilities/229742
        for the current score.
    CVSS Vector: (CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)

    CVEID: CVE-2022-32205
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32205
        https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32205
    DESCRIPTION: cURL libcurl is vulnerable to a denial of service, caused by
        an issue with the ability to set excessive amounts of Set-Cookie:
        headers in a HTTP response to curl by a server. By persuading a victim
        to connect a specially-crafted server, a remote attacker could exploit
        this vulnerability to create requests that become larger than the
        threshold, and results in a denial of service condition.
    CVSS Base score: 4.3
    CVSS Temporal Score: See:
        https://exchange.xforce.ibmcloud.com/vulnerabilities/229739
        for the current score.
    CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)

    CVEID: CVE-2022-35252
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35252
        https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35252
    DESCRIPTION: cURL libcurl is vulnerable to a denial of service, caused by
        a flaw when cookies contain control codes are later sent back to an
        HTTP(S) server. By sending a specially-crafted request, a remote
        attacker could exploit this vulnerability to cause a "sister site" to
        deny service to siblings.
    CVSS Base score: 5.3
    CVSS Temporal Score: See:
        https://exchange.xforce.ibmcloud.com/vulnerabilities/234980
        for the current score.
    CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)


    AFFECTED PRODUCTS AND VERSIONS:
 
        PowerSC 1.3, 2.0, 2.1

        The vulnerabilities in the following filesets are being addressed:
        
        key_fileset = powerscStd.tnc_pm
        key_fileset = curl-7.85.0-1.aix7.1.ppc.rpm

        Fileset                       Lower Level  Upper Level KEY 
        ---------------------------------------------------------------
        powerscStd.tnc_pm             1.3.0.4      2.1.0.4     key_w_fs
        curl-7.85.0-1.aix7.1.ppc.rpm   7.19.4       7.83.1     key_w_fs

        Note:  To find out whether the affected PowerSC filesets are installed
        on your systems, refer to the lslpp command found in AIX user's guide.
        To find out whether the affected curl filesets are installed on your
        systems, refer to the rpm command found in AIX user's guide.

        Example:  lslpp -l | grep powerscStd
        Example:  rpm -qa | grep curl


    REMEDIATION:

        A. FIXES

            Fixes are available.

            The fixes can be downloaded via ftp or http from:

            ftp://aix.software.ibm.com/aix/efixes/powersc/security/curl_fix9.tar
            http://aix.software.ibm.com/aix/efixes/powersc/security/curl_fix9.tar
            https://aix.software.ibm.com/aix/efixes/powersc/security/curl_fix9.tar 

            The link above is to a tar file containing this signed
            advisory, open source fix packages, and OpenSSL signatures for each
            package.
           
            To extract the fixes from the tar file:

            tar xvf curl_fix9.tar 
            cd curl_fix9

            Verify you have retrieved the fixes intact:

            The checksums below were generated using the
            "openssl dgst -sha256 [filename]" command as the following:

            openssl dgst -sha256                                              filename                     KEY
            ------------------------------------------------------------------------------------------------------------------------
            77a5e41cca844667283272b571317056f79302d983d75c627bbeaca5d3845172  curl-7.85.0-1.aix7.1.ppc.rpm key_w_csum


            These sums should match exactly. The OpenSSL signatures in the tar
            file and on this advisory can also be used to verify the
            integrity of the fixes.  If the sums or signatures cannot be
            confirmed, contact IBM Support.
 
            openssl dgst -sha256 -verify [pubkey_file] -signature [advisory_file].sig [advisory_file]
 
            openssl dgst -sha256 -verify [pubkey_file] -signature [ifix_file].sig [ifix_file]

            Published advisory OpenSSL signature file location:
 
            http://aix.software.ibm.com/aix/efixes/powersc/security/curl_advisory9.asc.sig
            https://aix.software.ibm.com/aix/efixes/powersc/security/curl_advisory9.asc.sig
            ftp://aix.software.ibm.com/aix/efixes/powersc/security/curl_advisory9.asc.sig 

        B. FIX AND INTERIM FIX INSTALLATION

            IMPORTANT: If possible, it is recommended that a mksysb backup
            of the system be created. Verify it is both bootable and 
            readable before proceeding.

            To extract the fixes from the tar file:

            tar xvf curl_fix9.tar
            cd curl_fix9

            To install a fix package:

            rpm -ivh *.rpm
            rpm -Uvh *.rpm

            To install any dependencies along with the fix package:

            yum update curl 


    WORKAROUNDS AND MITIGATIONS:

        None.


===============================================================================

CONTACT US:

    Note: Keywords labeled as KEY in this document are used for parsing
    purposes.

    If you would like to receive PowerSC Security Advisories via email,
    please visit "My Notifications":

        http://www.ibm.com/support/mynotifications
        https://www.ibm.com/support/mynotifications

    Contact IBM Support for questions related to this announcement:

        http://ibm.com/support/
        https://ibm.com/support/

    To obtain the OpenSSL public key that can be used to verify the
    signed advisories and ifixes:

        Download the key from our web page:

    ftp://ftp.software.ibm.com/systems/power/AIX/systems_p_os_aix_security_pubkey.txt

    Please contact your local IBM AIX support center for any
    assistance.


REFERENCES:
 
    Complete CVSS v3 Guide:  http://www.first.org/cvss/user-guide
        https://www.first.org/cvss/user-guide
    On-line Calculator v3:
        http://www.first.org/cvss/calculator/3.0
        https://www.first.org/cvss/calculator/3.0


ACKNOWLEDGEMENTS:

    None.


CHANGE HISTORY:

    First Issued: Thu Jan 19 13:15:23 CST 2023


===============================================================================

*The CVSS Environment Score is customer environment specific and will 
ultimately impact the Overall CVSS Score. Customers can evaluate the impact 
of this vulnerability in their environments by accessing the links in the 
Reference section of this Security Bulletin. 

Disclaimer
According to the Forum of Incident Response and Security Teams (FIRST), the 
Common Vulnerability Scoring System (CVSS) is an "industry open standard 
designed to convey vulnerability severity and help to determine urgency and 
priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY 
OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT 
OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.