{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "curl",
                    "vendor": "The curl Project",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "7.64.0"
                        }
                    ]
                }
            ],
            "datePublic": "2019-02-06T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The function creating an outgoing NTLM type-3 header (`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`), generates the request HTTP header contents based on previously received data. The check that exists to prevent the local buffer from getting overflowed is implemented wrongly (using unsigned math) and as such it does not prevent the overflow from happening. This output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by the malicious or broken HTTP server. Such a 'large value' needs to be around 1000 bytes or more. The actual payload data copied to the target buffer comes from the NTLMv2 type-2 response header."
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
                        "version": "3.0"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-121",
                            "description": "CWE-121",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2019-11-06T00:08:00",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "name": "GLSA-201903-03",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "https://security.gentoo.org/glsa/201903-03"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822"
                },
                {
                    "name": "DSA-4386",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "https://www.debian.org/security/2019/dsa-4386"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://curl.haxx.se/docs/CVE-2019-3822.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20190315-0001/"
                },
                {
                    "name": "USN-3882-1",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_UBUNTU"
                    ],
                    "url": "https://usn.ubuntu.com/3882-1/"
                },
                {
                    "name": "106950",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/106950"
                },
                {
                    "name": "[infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to new base image jdk8u202-b08_openj9-0.12.1.",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20190719-0004/"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://support.f5.com/csp/article/K84141449"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://support.f5.com/csp/article/K84141449?utm_source=f5support&amp%3Butm_medium=RSS"
                },
                {
                    "name": "RHSA-2019:3701",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2019:3701"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "secalert@redhat.com",
                    "ID": "CVE-2019-3822",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "curl",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "7.64.0"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "The curl Project"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The function creating an outgoing NTLM type-3 header (`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`), generates the request HTTP header contents based on previously received data. The check that exists to prevent the local buffer from getting overflowed is implemented wrongly (using unsigned math) and as such it does not prevent the overflow from happening. This output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by the malicious or broken HTTP server. Such a 'large value' needs to be around 1000 bytes or more. The actual payload data copied to the target buffer comes from the NTLMv2 type-2 response header."
                        }
                    ]
                },
                "impact": {
                    "cvss": [
                        [
                            {
                                "vectorString": "7.1/CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
                                "version": "3.0"
                            }
                        ]
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "CWE-121"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "GLSA-201903-03",
                            "refsource": "GENTOO",
                            "url": "https://security.gentoo.org/glsa/201903-03"
                        },
                        {
                            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822",
                            "refsource": "CONFIRM",
                            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822"
                        },
                        {
                            "name": "DSA-4386",
                            "refsource": "DEBIAN",
                            "url": "https://www.debian.org/security/2019/dsa-4386"
                        },
                        {
                            "name": "https://curl.haxx.se/docs/CVE-2019-3822.html",
                            "refsource": "MISC",
                            "url": "https://curl.haxx.se/docs/CVE-2019-3822.html"
                        },
                        {
                            "name": "https://security.netapp.com/advisory/ntap-20190315-0001/",
                            "refsource": "CONFIRM",
                            "url": "https://security.netapp.com/advisory/ntap-20190315-0001/"
                        },
                        {
                            "name": "USN-3882-1",
                            "refsource": "UBUNTU",
                            "url": "https://usn.ubuntu.com/3882-1/"
                        },
                        {
                            "name": "106950",
                            "refsource": "BID",
                            "url": "http://www.securityfocus.com/bid/106950"
                        },
                        {
                            "name": "[infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to new base image jdk8u202-b08_openj9-0.12.1.",
                            "refsource": "MLIST",
                            "url": "https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f@%3Cdevnull.infra.apache.org%3E"
                        },
                        {
                            "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf",
                            "refsource": "CONFIRM",
                            "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf"
                        },
                        {
                            "name": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
                            "refsource": "MISC",
                            "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
                        },
                        {
                            "name": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html",
                            "refsource": "MISC",
                            "url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"
                        },
                        {
                            "name": "https://security.netapp.com/advisory/ntap-20190719-0004/",
                            "refsource": "CONFIRM",
                            "url": "https://security.netapp.com/advisory/ntap-20190719-0004/"
                        },
                        {
                            "name": "https://support.f5.com/csp/article/K84141449",
                            "refsource": "CONFIRM",
                            "url": "https://support.f5.com/csp/article/K84141449"
                        },
                        {
                            "name": "https://support.f5.com/csp/article/K84141449?utm_source=f5support&amp;utm_medium=RSS",
                            "refsource": "CONFIRM",
                            "url": "https://support.f5.com/csp/article/K84141449?utm_source=f5support&amp;utm_medium=RSS"
                        },
                        {
                            "name": "RHSA-2019:3701",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHSA-2019:3701"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T19:19:18.599Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "GLSA-201903-03",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/201903-03"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822"
                    },
                    {
                        "name": "DSA-4386",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2019/dsa-4386"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://curl.haxx.se/docs/CVE-2019-3822.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://security.netapp.com/advisory/ntap-20190315-0001/"
                    },
                    {
                        "name": "USN-3882-1",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_UBUNTU",
                            "x_transferred"
                        ],
                        "url": "https://usn.ubuntu.com/3882-1/"
                    },
                    {
                        "name": "106950",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/106950"
                    },
                    {
                        "name": "[infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to new base image jdk8u202-b08_openj9-0.12.1.",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://security.netapp.com/advisory/ntap-20190719-0004/"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://support.f5.com/csp/article/K84141449"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://support.f5.com/csp/article/K84141449?utm_source=f5support&amp%3Butm_medium=RSS"
                    },
                    {
                        "name": "RHSA-2019:3701",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2019:3701"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2019-3822",
        "datePublished": "2019-02-06T20:00:00",
        "dateReserved": "2019-01-03T00:00:00",
        "dateUpdated": "2024-08-04T19:19:18.599Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}