CVE-2023-31475 Memory corruption in n/a
A buffer overflow in GL.iNet router firmware allows attackers to execute arbitrary code or cause denial of service via crafted UCI requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-31475?
CVE-2023-31475 is a critical memory corruption vulnerability in n/a, published on 11 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered on GL.iNet devices before 3.216. The function guci2_get() found in libglutil.so has a buffer overflow when an item is requested from a UCI context, and the value is pasted into a char pointer to a buffer without checking the size of the buffer.
Weakness: CWE-120
Which versions are affected by CVE-2023-31475?
It affects 32 products.
Products include Gl-Inet Gl-A1300 Firmware, Gl-Inet Gl-Ap1300 Firmware, Gl-Inet Gl-Ap1300lte Firmware, Gl-Inet Gl-Ar300m Firmware, Gl-Inet Gl-Ar750 Firmware, Gl-Inet Gl-Ar750s Firmware and 26 more.
How do I fix CVE-2023-31475?
No fix has been published for CVE-2023-31475 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-31475 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31475 exists.
Other vulnerabilities in n/a
Sources
Also known as CVE-2023-33622, GHSA-27c8-cpgv-r39p.