CVE-2025-32442 Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

Vulnerability Details

Basic Information

Title CVE-2025-32442 Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass
Type cvelist
Published 2025-04-18T15:59:06
Last Seen 2025-04-18T16:33:29
CVSS Score 7.5 (HIGH)

CVSS v3 Details

Attack Vector NETWORK
Attack Complexity LOW
Privileges Required NONE
User Interaction NONE
Scope UNCHANGED
Confidentiality Impact NONE
Integrity Impact HIGH
Availability Impact NONE

CVE Information

CVE IDs CVE-2025-32442
CWE CWE-1287
Bulletin Family cve

Description

Fastify is a fast and low overhead web framework, for Node.js. In versions 5.0.0 to 5.3.0, applications that specify different validation strategies for different content types have a possibility to bypass validation by providing a _slightly altered_ content type such as with different casing or altered whitespacing before `;`. This issue has been patched in version 5.3.1. A workaround involves not specifying individual content types in the schema.

Impact Assessment

Base Score 7.5
Severity HIGH

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.