Every CVESearch/Get API key

CVE-2023-4540

DoS in lua-http library

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.09%Up 1.0 points since Sep 5, 2023
90%50%10%1%

What each source reports

NVD Score used7.5

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.

Record
CVE-2023-4540
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-755
Updated
2026-11-02
CVE List7.5

DoS in lua-http library

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.

Record
CVE-2023-4540
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-755
Updated
2026-11-02
EUVDEUVD-2023-543957.5

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.

Record
EUVD-2023-54395
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-947g-gmvh-r5rp7.5

Improper Handling of Exceptional Conditions vulnerability in Daurnimator HTTP Library for Lua...

Improper Handling of Exceptional Conditions vulnerability in Daurnimator HTTP Library for Lua allows Excessive Allocation.This issue affects HTTP Library for Lua: before commit ddab283.

Record
GHSA-947g-gmvh-r5rp
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-755, CWE-835
Updated
2026-11-02
OSVALPINE-CVE-2023-45407.5

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.

Record
ALPINE-CVE-2023-4540
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV7.5

DoS in lua-http library

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.

Record
CVE-2023-4540
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-755
Updated
2026-11-02
OSVDEBIAN-CVE-2023-45407.5

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.

Record
DEBIAN-CVE-2023-4540
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-45407.5

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.

Record
UBUNTU-CVE-2023-4540
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
lua-http
Alpine:v3.17
before 0.4-r2
0.4-r2
lua-http
Alpine:v3.18
before 0.4-r2
0.4-r2
lua-http
Alpine:v3.19
before 0.4-r2
0.4-r2
lua-http
Alpine:v3.20
before 0.4-r2
0.4-r2
lua-http
Alpine:v3.21
before 0.4-r2
0.4-r2
lua-http
Alpine:v3.22
before 0.4-r2
0.4-r2
lua-http
Alpine:v3.23
before 0.4-r2
0.4-r2
lua-http
Alpine:v3.24
before 0.4-r2
0.4-r2
lua-http
Debian:12
All versions, plus listed versions
0.4-10.4-20.4-3
None known
lua-http
Debian:13
before 0.4-2
0.4-2
Show 8 moreShow less
Affected packages
PackageAffectedFixed
lua-http
Debian:14
before 0.4-2
0.4-2
lua-http
Ubuntu:18.04:LTS
All versions, plus listed versions
0.1-3
None known
lua-http
Ubuntu:20.04:LTS
All versions, plus listed versions
0.1-30.3-1
None known
lua-http
Ubuntu:22.04:LTS
All versions, plus listed versions
0.4-1
None known
lua-http
Ubuntu:24.04:LTS
All versions, plus listed versions
0.4-1
None known
lua-http
Ubuntu:25.10
All versions, plus listed versions
0.4-10.4-2
None known
lua-http
Ubuntu:26.10
All versions, plus listed versions
0.4-3
None known
lua-http
Ubuntu:26.04:LTS
All versions, plus listed versions
0.4-20.4-3
None known

History

History
RecordedChangedSources
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-4540 is a high vulnerability (CVSS 7.5) in Daurnimator Lua-http, published September 5, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.09%, the 65th percentile. Fixed in lua-http 0.4-r2.

References

Show 6 moreShow less
MoveEnter Open