CVEfocus › CVE database › CVE-2023-4540

CVE-2023-4540DoS in lua-http library

CVSS 7.5 HighEPSS 1.1% (higher than 66% of CVEs)Published 2023-09-05Updated 2025-04-04Assigner: CERT-PL

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. Such a request causes the program to enter an infinite loop. This issue affects lua-http: all versions before commit ddab283.

CWE-755

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
2Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10lua-httpFix pendingUBUNTU-CVE-2023-4540
Ubuntu 26.04lua-httpUnder investigationUBUNTU-CVE-2023-4540
Ubuntu 25.10lua-httpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-4540
Ubuntu 24.04lua-httpUnder investigationUBUNTU-CVE-2023-4540
Ubuntu 22.04lua-httpUnder investigationUBUNTU-CVE-2023-4540
Ubuntu 20.04lua-httpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-4540
Ubuntu 18.04lua-httpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-4540
Debian 14lua-httpFixed0.4-2DEBIAN-CVE-2023-4540
Debian 13lua-httpFixed0.4-2DEBIAN-CVE-2023-4540
Debian 12lua-httpFix pendingDEBIAN-CVE-2023-4540
Alpine Linux 3.24lua-httpFixed0.4-r2ALPINE-CVE-2023-4540
Alpine Linux 3.23lua-httpFixed0.4-r2ALPINE-CVE-2023-4540
Alpine Linux 3.22lua-httpFixed0.4-r2ALPINE-CVE-2023-4540
Alpine Linux 3.21lua-httpFixed0.4-r2ALPINE-CVE-2023-4540
Alpine Linux 3.20lua-httpFixed0.4-r2ALPINE-CVE-2023-4540
Alpine Linux 3.19lua-httpFixed0.4-r2ALPINE-CVE-2023-4540
Alpine Linux 3.18lua-httpFixed0.4-r2ALPINE-CVE-2023-4540
Alpine Linux 3.17lua-httpFixed0.4-r2ALPINE-CVE-2023-4540

What the vendor says

As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.