@fastify/busboy is vulnerable to CRLF Injection
58
Medium Risk
The multipart part-header parser splits header lines only on the two-byte carriage-return line-feed sequence, so a lone carriage return or line feed embedded in a Content-Disposition header is not treated as a line break. The bare control characters are passed directly into the parsed filename and field name values handed back to the application. Consuming code that trusts those values can suffer filesystem filename pollution, log forging, or header injection when the value is forwarded to a CR/LF-sensitive sink. The fix rejects header lines that still contain a bare carriage return or line feed and discards multipart field names and filenames that contain bare line breaks.
You are affected if you are using a version that falls within the vulnerable range and your application processes untrusted multipart/form-data uploads and reuses the parsed filename or field name values.
@fastify/busboy is vulnerable to CRLF Injection in versions 0.0.1 - 3.2.1.
Upgrade the @fastify/busboy library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant