tinfoil-factory/netfoil · Security
netfoil has a resource leak in LRU cache
- GHSA ID
- GHSA-3g4q-2f67-2gvh
- Severity
- low
- Published
- Updated
- CVSS v4
- 1.2 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
Description
Summary
When an entry was removed from the LRU cache, a pointer to the removed element was not properly cleaned up.
Impact
A local attacker can get netfoil to use more memory. By default this is limited to 100MB via systemd, which would trigger service restarts when reached.
CWEs
- CWE-401 · Missing Release of Memory after Effective Lifetime