{"id":"CVE-2023-4540","summary":"DoS in lua-http library","details":"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. \nSuch a request causes the program to enter an infinite loop. \n\nThis issue affects lua-http: all versions before commit ddab283.","modified":"2026-08-12T03:51:34.545064458Z","published":"2023-09-05T07:46:45.194Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"commit ddab283"}]}],"cna_assigner":"CERT-PL","cwe_ids":["CWE-755"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4540.json"},"references":[{"type":"ADVISORY","url":"https://cert.pl/en/posts/2023/09/CVE-2023-4540/"},{"type":"ADVISORY","url":"https://cert.pl/posts/2023/09/CVE-2023-4540/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4540.json"},{"type":"ADVISORY","url":"https://https://cert.pl/en/posts/2023/09/CVE-2023-4540/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4540"},{"type":"FIX","url":"https://github.com/daurnimator/lua-http/commit/ddab2835c583d45dec62680ca8d3cbde55e0bae6"},{"type":"PACKAGE","url":"https://github.com/daurnimator/lua-http"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/daurnimator/lua-http","events":[{"introduced":"8841c629cdef9d4c4f1913ddff5b806e49963071"},{"fixed":"ddab2835c583d45dec62680ca8d3cbde55e0bae6"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:daurnimator:lua-http:0.4:*:*:*:*:lua:*:*","extracted_events":[{"introduced":"0.4"},{"last_affected":"0.4"}]}}],"versions":["0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4540.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}