{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-35260",
        "ASSIGNER": "support@hackerone.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "https://github.com/curl/curl",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Fixed in 7.86.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Out-of-bounds Read (CWE-125)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1721098",
                "url": "https://hackerone.com/reports/1721098"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202212-01",
                "url": "https://security.gentoo.org/glsa/202212-01"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20230110-0006/",
                "url": "https://security.netapp.com/advisory/ntap-20230110-0006/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213604",
                "url": "https://support.apple.com/kb/HT213604"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213605",
                "url": "https://support.apple.com/kb/HT213605"
            },
            {
                "refsource": "FULLDISC",
                "name": "20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3",
                "url": "http://seclists.org/fulldisclosure/2023/Jan/20"
            },
            {
                "refsource": "FULLDISC",
                "name": "20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2",
                "url": "http://seclists.org/fulldisclosure/2023/Jan/19"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095 consecutive non-white space letters and no newline, curlwould first read past the end of the stack-based buffer, and if the readworks, write a zero byte beyond its boundary.This will in most cases cause a segfault or similar, but circumstances might also cause different outcomes.If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be used as denial-of-service."
            }
        ]
    }
}