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


Vulnerability identifier: #VU94099

Vulnerability risk: Medium

CVSSv4.0: 4.6 [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/E:U/U:Green]

CVE-ID: CVE-2022-21721

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Next.js
Server applications / Frameworks for developing and running applications

Vendor: Zeit

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Next.js: 12.0.0 - 12.0.8


External links
https://github.com/vercel/next.js/pull/33503
https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x
https://github.com/vercel/next.js/releases/tag/v12.0.9


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability