CVE-2023-4540

Source
https://cve.org/CVERecord?id=CVE-2023-4540
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4540.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-4540
Downstream
Published
2023-09-05T07:46:45Z
Modified
2026-10-28T02:30:25Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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. Such a request causes the program to enter an infinite loop.

This issue affects lua-http: all versions before commit ddab283.

Database specific
{
    "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",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "commit ddab283"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/daurnimator/lua-http

Affected ranges

Type
GIT
Repo
https://github.com/daurnimator/lua-http
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:daurnimator:lua-http:0.4:*:*:*:*:lua:*:*",
            "range": [
                {
                    "introduced": "0.4"
                },
                {
                    "last_affected": "0.4"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "range": [
                {
                    "fixed": "ddab2835c583d45dec62680ca8d3cbde55e0bae6"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4540.json"