{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-4087",
        "TITLE": "iPXE TLS tls.c tls_new_ciphertext information exposure",
        "REQUESTER": "cna@vuldb.com",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "generator": "vuldb.com",
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "iPXE",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-284 Improper Access Controls -> CWE-200 Information Disclosure -> CWE-203 Information Exposure Through Discrepancy"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability was found in iPXE. It has been declared as problematic. This vulnerability affects the function tls_new_ciphertext of the file src/net/tls.c of the component TLS. The manipulation of the argument pad_len leads to information exposure through discrepancy. The name of the patch is 186306d6199096b7a7c4b4574d4be8cdb8426729. It is recommended to apply a patch to fix this issue. VDB-214054 is the identifier assigned to this vulnerability."
            }
        ]
    },
    "impact": {
        "cvss": {
            "version": "3.1",
            "baseScore": "2.6",
            "vectorString": "CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/ipxe/ipxe/commit/186306d6199096b7a7c4b4574d4be8cdb8426729",
                "refsource": "MISC",
                "name": "https://github.com/ipxe/ipxe/commit/186306d6199096b7a7c4b4574d4be8cdb8426729"
            },
            {
                "url": "https://vuldb.com/?id.214054",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.214054"
            }
        ]
    }
}