{"api_version":"1","generated_at":"2026-07-23T10:54:30+00:00","cve":"CVE-2023-4540","urls":{"html":"https://cve.report/CVE-2023-4540","api":"https://cve.report/api/cve/CVE-2023-4540.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-4540","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-4540"},"summary":{"title":"CVE-2023-4540","description":"Improper Handling of Exceptional Conditions vulnerability in Daurnimator lua-http library allows Excessive Allocation and a denial of service (DoS) attack to be executed by sending a properly crafted request to the server. \n\nThis issue affects lua-http: all versions before commit ddab283.","state":"PUBLIC","assigner":"cvd@cert.pl","published_at":"2023-09-05 08:15:00","updated_at":"2023-10-13 01:30:00"},"problem_types":["CWE-755"],"metrics":[],"references":[{"url":"https://cert.pl/posts/2023/09/CVE-2023-4540/","name":"https://cert.pl/posts/2023/09/CVE-2023-4540/","refsource":"MISC","tags":[],"title":"Nie znaleziono strony | CERT Polska","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://https://cert.pl/en/posts/2023/09/CVE-2023-4540/","name":"https://https://cert.pl/en/posts/2023/09/CVE-2023-4540/","refsource":"MISC","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"https://github.com/daurnimator/lua-http/commit/ddab2835c583d45dec62680ca8d3cbde55e0bae6","name":"https://github.com/daurnimator/lua-http/commit/ddab2835c583d45dec62680ca8d3cbde55e0bae6","refsource":"MISC","tags":[],"title":"http/h1_stream: handle EOF when `body_read_type==length` · daurnimator/lua-http@ddab283 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4540","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4540","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"4540","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"daurnimator","cpe5":"lua-http","cpe6":"0.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"lua","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-4540","qid":"503370","title":"Alpine Linux Security Update for lua-http"},{"cve":"CVE-2023-4540","qid":"506115","title":"Alpine Linux Security Update for lua-http"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-4540","ASSIGNER":"cvd@cert.pl","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Improper Handling of Exceptional Conditions vulnerability in Daurnimator lua-http library allows Excessive Allocation and a denial of service (DoS) attack to be executed by sending a properly crafted request to the server. \n\nThis issue affects lua-http: all versions before commit ddab283."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-755 Improper Handling of Exceptional Conditions","cweId":"CWE-755"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Daurnimator","product":{"product_data":[{"product_name":"lua-http","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"commit ddab283"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/daurnimator/lua-http/commit/ddab2835c583d45dec62680ca8d3cbde55e0bae6","refsource":"MISC","name":"https://github.com/daurnimator/lua-http/commit/ddab2835c583d45dec62680ca8d3cbde55e0bae6"},{"url":"https://cert.pl/posts/2023/09/CVE-2023-4540/","refsource":"MISC","name":"https://cert.pl/posts/2023/09/CVE-2023-4540/"},{"url":"https://https://cert.pl/en/posts/2023/09/CVE-2023-4540/","refsource":"MISC","name":"https://https://cert.pl/en/posts/2023/09/CVE-2023-4540/"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"UNKNOWN"},"credits":[{"lang":"en","value":"Artur Łącki"}]},"nvd":{"publishedDate":"2023-09-05 08:15:00","lastModifiedDate":"2023-10-13 01:30:00","problem_types":["CWE-755"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:daurnimator:lua-http:0.4:*:*:*:*:lua:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}