{"id":"CVE-2022-4087","summary":"iPXE TLS tls.c tls_new_ciphertext information exposure","details":"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.","modified":"2026-10-28T10:28:18.634684231Z","published":"2022-11-21T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4087.json","cna_assigner":"VulDB","cwe_ids":["CWE-284"]},"references":[{"type":"WEB","url":"https://vuldb.com/?id.214054"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4087.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4087"},{"type":"FIX","url":"https://github.com/ipxe/ipxe/commit/186306d6199096b7a7c4b4574d4be8cdb8426729"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ipxe/ipxe","events":[{"introduced":"0"},{"fixed":"186306d6199096b7a7c4b4574d4be8cdb8426729"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"186306d6199096b7a7c4b4574d4be8cdb8426729"}]}]}}],"versions":["secboot-ioactive-20221109","v1.21.1","secboot-ioactive-20200925","secboot-ioactive-20200603","v1.20.1","v1.0.0","v1.0.0-rc1","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.3"],"database_specific":{"vanir_signatures":[{"source":"https://github.com/ipxe/ipxe/commit/186306d6199096b7a7c4b4574d4be8cdb8426729","target":{"file":"src/net/tls.c"},"deprecated":false,"digest":{"line_hashes":["322214656995890130090133993466881292590","185908128249794230501211951056961826190","304727487056794241270195375098923742178","98216274668225381925828606256341135276","327562080019048749201726832190198062486"],"threshold":0.9},"id":"CVE-2022-4087-b517e4a4","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2022-4087-d9163095","signature_type":"Function","signature_version":"v1","source":"https://github.com/ipxe/ipxe/commit/186306d6199096b7a7c4b4574d4be8cdb8426729","target":{"function":"tls_new_ciphertext","file":"src/net/tls.c"},"deprecated":false,"digest":{"function_hash":"54187389514118907573785396826293857584","length":2441}}],"vanir_signatures_modified":"2026-10-28T10:28:18Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4087.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}