CVE-2021-45257 Denial of service in n/a
An attacker can cause a denial of service via an infinite loop in the NASM assembler's gpaste_tokens function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-45257?
CVE-2021-45257 is a medium-severity denial of service vulnerability in Nasm Netwide Assembler, published on 22 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An infinite loop vulnerability exists in nasm 2.16rc0 via the gpaste_tokens function.
Weakness: CWE-835
Which versions are affected by CVE-2021-45257?
It affects 1 product.
Products include Nasm Netwide Assembler.
How do I fix CVE-2021-45257?
No fix has been published for CVE-2021-45257 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-45257 being exploited?
There is no known exploitation of CVE-2021-45257 in the wild and no public exploit code.
Other vulnerabilities in Nasm Netwide Assembler
Sources
Also known as DEBIAN-CVE-2021-45257, GHSA-wjg5-gfx4-4qv2, UBUNTU-CVE-2021-45257.