{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-49287",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "TinyDir is a lightweight C directory and file reader. Buffer overflows in the `tinydir_file_open()` function. This vulnerability has been patched in version 1.2.6."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')",
                        "cweId": "CWE-120"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-121: Stack-based Buffer Overflow",
                        "cweId": "CWE-121"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "cxong",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "tinydir",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 1.2.6"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/cxong/tinydir/security/advisories/GHSA-jf5r-wgf4-qhxf",
                "refsource": "MISC",
                "name": "https://github.com/cxong/tinydir/security/advisories/GHSA-jf5r-wgf4-qhxf"
            },
            {
                "url": "https://github.com/cxong/tinydir/releases/tag/1.2.6",
                "refsource": "MISC",
                "name": "https://github.com/cxong/tinydir/releases/tag/1.2.6"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2023/12/04/1",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2023/12/04/1"
            },
            {
                "url": "http://packetstormsecurity.com/files/176060/TinyDir-1.2.5-Buffer-Overflow.html",
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/176060/TinyDir-1.2.5-Buffer-Overflow.html"
            },
            {
                "url": "http://seclists.org/fulldisclosure/2023/Dec/14",
                "refsource": "MISC",
                "name": "http://seclists.org/fulldisclosure/2023/Dec/14"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-jf5r-wgf4-qhxf",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.7,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
                "version": "3.1"
            }
        ]
    }
}