Skip to content
Heist/ feed
Back to feed
High

DoS in lua-http library

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-4540
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:02 UTC · Revision 1

Source evidence

DoS in lua-http library

core-osv · Original source

Published 5 Sept 2023, 07:46 UTC

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.

osv:CVE-2023-4540
Complete source record
{
  "id": "bafc7814df39701d9784d241aba96468b653bc1ee506e032241e5502400809e3",
  "url": "https://osv.dev/vulnerability/CVE-2023-4540",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DoS in lua-http library",
    "summary": "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.",
    "evidence": "osv:CVE-2023-4540",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-4540",
      "aliases": [
        "CVE-2023-4540"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/daurnimator/lua-http",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8841c629cdef9d4c4f1913ddff5b806e49963071"
                },
                {
                  "fixed": "ddab2835c583d45dec62680ca8d3cbde55e0bae6"
                }
              ],
              "database_specific": {
                "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"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-4540.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.891966631Z",
      "provider": "osv",
      "references": [
        "https://cert.pl/en/posts/2023/09/CVE-2023-4540/",
        "https://cert.pl/posts/2023/09/CVE-2023-4540/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4540.json",
        "https://https://cert.pl/en/posts/2023/09/CVE-2023-4540/",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-4540",
        "https://github.com/daurnimator/lua-http/commit/ddab2835c583d45dec62680ca8d3cbde55e0bae6",
        "https://github.com/daurnimator/lua-http"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-755"
        ],
        "cna_assigner": "CERT-PL",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "commit ddab283"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4540.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-4540",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492373,
  "published_at": "2023-09-05T07:46:45.194+00:00"
}