Improper Handling of Exceptional Conditions Affecting lua-http package, versions <0.4-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.09% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-LUAHTTP-14182126
  • published4 Dec 2025
  • disclosed5 Sept 2023

Introduced: 5 Sep 2023

CVE-2023-4540  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 lua-http to version 0.4-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lua-http package and not the lua-http package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1