suppaftp is vulnerable to Use After Free
44
CVE Score
Medium
Use After Free
Affected versions of this package contain an unsafe memory management vulnerability in the tcp_stream function, where a raw pointer is incorrectly treated as an independently heap-allocated TcpStream when it actually lives inline within a wrapper struct, leading to undefined behavior via double-free or heap corruption upon deallocation. An attacker who can influence the timing or frequency of TCP connection handling could potentially exploit this by triggering repeated connection teardowns, causing heap metadata corruption that may lead to denial of service or, in advanced scenarios, controlled memory overwrites that could be leveraged for arbitrary code execution.
Upgrade the suppaftp library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
5.0.0 - 8.0.1
Fixed in 8.0.2suppaftp is vulnerable to Use After Free in versions 5.0.0 - 8.0.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.