{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-25576",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-02-07T17:10:00.742Z",
        "datePublished": "2023-02-14T15:04:11.119Z",
        "dateUpdated": "2024-08-02T11:25:19.195Z"
    },
    "containers": {
        "cna": {
            "title": "@fastify/multipart vulnerable to DoS due to unlimited number of parts",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-770",
                            "lang": "en",
                            "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g"
                },
                {
                    "name": "https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297"
                },
                {
                    "name": "https://hackerone.com/reports/1816195",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://hackerone.com/reports/1816195"
                },
                {
                    "name": "https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1"
                },
                {
                    "name": "https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1"
                }
            ],
            "affected": [
                {
                    "vendor": "fastify",
                    "product": "fastify-multipart",
                    "versions": [
                        {
                            "version": "< 6.0.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 7.0.0, < 7.4.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-02-14T15:04:11.119Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to versions 7.4.1 and 6.0.1, @fastify/multipart may experience denial of service due to a number of situations in which an unlimited number of parts are accepted. This includes the multipart body parser accepting an unlimited number of file parts, the multipart body parser accepting an unlimited number of field parts, and the multipart body parser accepting an unlimited number of empty parts as field parts. This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x). There are no known workarounds."
                }
            ],
            "source": {
                "advisory": "GHSA-hpp2-2cr5-pf6g",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T11:25:19.195Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/fastify/fastify-multipart/security/advisories/GHSA-hpp2-2cr5-pf6g"
                    },
                    {
                        "name": "https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/fastify/fastify-multipart/commit/85be81bedf5b29cfd9fe3efc30fb5a17173c1297"
                    },
                    {
                        "name": "https://hackerone.com/reports/1816195",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://hackerone.com/reports/1816195"
                    },
                    {
                        "name": "https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/fastify/fastify-multipart/releases/tag/v6.0.1"
                    },
                    {
                        "name": "https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/fastify/fastify-multipart/releases/tag/v7.4.1"
                    }
                ]
            }
        ]
    }
}