Vulnerability · Published Sep 5, 2023 · Assigned by CERT-PL

CVE-2023-4540DoS in lua-http library

High 7.5

In plain English

A high-severity security flaw in lua-http from Daurnimator. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.1%top 34.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20lua-http0.4-r2ALPINE-CVE-2023-4540
Alpine:v3.21lua-http0.4-r2ALPINE-CVE-2023-4540
Alpine:v3.22lua-http0.4-r2ALPINE-CVE-2023-4540
Alpine:v3.23lua-http0.4-r2ALPINE-CVE-2023-4540
Alpine:v3.24lua-http0.4-r2ALPINE-CVE-2023-4540
Debian:12lua-httpno fix listedDEBIAN-CVE-2023-4540
Debian:13lua-http0.4-2DEBIAN-CVE-2023-4540
Debian:14lua-http0.4-2DEBIAN-CVE-2023-4540
Ubuntu:22.04:LTSlua-httpno fix listedUBUNTU-CVE-2023-4540
Ubuntu:24.04:LTSlua-httpno fix listedUBUNTU-CVE-2023-4540
Ubuntu:25.10lua-httpno fix listedUBUNTU-CVE-2023-4540
Ubuntu:26.04:LTSlua-httpno fix listedUBUNTU-CVE-2023-4540
Ubuntu:26.10lua-httpno fix listedUBUNTU-CVE-2023-4540

Affected products (as reported)

VendorProductVersions
Daurnimator lua-http 0 – before commit ddab283

Weakness: CWE-755 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References