Input validation error in Next.js - CVE-2022-21721

 

Input validation error in Next.js - CVE-2022-21721

Published: July 11, 2024


Vulnerability identifier: #VU94099
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-21721
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when using the i18n functionality. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

The vulnerability affects self-hosted next.js apps using i18n.


Affected software

Next.js

How to mitigate CVE-2022-21721

Install updates from vendor's website.

Next.js - update to 12.0.9

External References

Related Security Bulletins