Skip to content
Heist/ feed
Back to feed
High

body-parser vulnerable to denial of service when url encoding is enabled

Type: advisorySources: OSV

body-parser is Node.js body parsing middleware. body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service. This issue is patched in 1.20.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-45590
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:49 UTC · Revision 1

Source evidence

body-parser vulnerable to denial of service when url encoding is enabled

core-osv · Original source

Published 10 Sept 2024, 15:54 UTC

body-parser is Node.js body parsing middleware. body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service. This issue is patched in 1.20.3.

osv:CVE-2024-45590
Complete source record
{
  "id": "93aa469d3e7e9fbc489572bafab76757989a7e202428f43791f556339baa064a",
  "url": "https://osv.dev/vulnerability/CVE-2024-45590",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "body-parser vulnerable to denial of service when url encoding is enabled",
    "summary": "body-parser is Node.js body parsing middleware. body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service. This issue is patched in 1.20.3.",
    "evidence": "osv:CVE-2024-45590",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-45590",
      "aliases": [
        "CVE-2024-45590",
        "GHSA-qwcr-r2fm-qrc7"
      ],
      "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/expressjs/body-parser",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "17529513673e39ba79886a7ce3363320cf1c0c50"
                },
                {
                  "fixed": "b2695c4450f06ba3b0ccf48d872a229bb41c9bce"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openjsf:body-parser:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.20.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b2695c4450f06ba3b0ccf48d872a229bb41c9bce"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.20.2",
            "1.20.1",
            "1.20.0",
            "1.19.2",
            "1.19.1",
            "1.19.0",
            "1.18.3",
            "1.18.2",
            "1.18.1",
            "1.18.0",
            "1.17.2",
            "1.17.1",
            "1.17.0",
            "1.16.1",
            "1.16.0",
            "1.15.2",
            "1.15.1",
            "1.15.0",
            "1.14.2",
            "1.14.1",
            "1.14.0",
            "1.13.3",
            "1.13.2",
            "1.13.1",
            "1.13.0",
            "1.12.4",
            "1.12.3",
            "1.12.2",
            "1.12.1",
            "1.12.0",
            "1.11.0",
            "1.10.2",
            "1.10.1",
            "1.10.0",
            "1.9.3",
            "1.9.2",
            "1.9.1",
            "1.9.0",
            "1.8.4",
            "1.8.3",
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "1.7.0",
            "1.6.7",
            "1.6.6",
            "1.6.5",
            "1.6.4",
            "1.6.3",
            "1.6.2",
            "1.6.1",
            "1.6.0",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.4.3",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.1",
            "1.3.0",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.2",
            "1.0.1",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45590.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.662611117Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45590.json",
        "https://github.com/expressjs/body-parser/security/advisories/GHSA-qwcr-r2fm-qrc7",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-45590",
        "https://github.com/expressjs/body-parser/commit/b2695c4450f06ba3b0ccf48d872a229bb41c9bce"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-405"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45590.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-45590",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489971,
  "published_at": "2024-09-10T15:54:02.33+00:00"
}