{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-42341",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "checkpath in OpenRC before 0.44.7 uses the direct output of strlen() to allocate strings, which does not account for the '\\0' byte at the end of the string. This results in memory corruption. CVE-2021-42341 was introduced in git commit 63db2d99e730547339d1bdd28e8437999c380cae, which was introduced as part of OpenRC 0.44.0 development."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204",
                "refsource": "MISC",
                "name": "https://github.com/OpenRC/openrc/commit/bb8334104baf4d5a4a442a8647fb9204738f2204"
            },
            {
                "url": "https://github.com/OpenRC/openrc/issues/459",
                "refsource": "MISC",
                "name": "https://github.com/OpenRC/openrc/issues/459"
            },
            {
                "url": "https://github.com/OpenRC/openrc/pull/462",
                "refsource": "MISC",
                "name": "https://github.com/OpenRC/openrc/pull/462"
            },
            {
                "url": "https://bugs.gentoo.org/816900",
                "refsource": "MISC",
                "name": "https://bugs.gentoo.org/816900"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae",
                "url": "https://github.com/OpenRC/openrc/commit/63db2d99e730547339d1bdd28e8437999c380cae"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/OpenRC/openrc/issues/418",
                "url": "https://github.com/OpenRC/openrc/issues/418"
            }
        ]
    }
}