Unauthenticated server crash via undersized UDP datagram
Published Apr 29, 2024 · Updated Aug 2, 2024
Improper packet validation in tftpy allows remote attackers to crash a network-facing TFTP server with a short UDP datagram. TftpPacketFactory.parse passes the first two bytes to struct.unpack without ensuring that the received buffer contains a complete opcode, so a one-byte packet raises an uncaught struct.error. Any exposed tftpy UDP listener can be interrupted without authentication, while confidentiality and integrity remain unaffected.
Summary
What happened
Improper packet validation in tftpy allows remote attackers to crash a network-facing TFTP server with a short UDP datagram. TftpPacketFactory.parse passes the first two bytes to struct.unpack without ensuring that the received buffer contains a complete opcode, so a one-byte packet raises an uncaught struct.error. Any exposed tftpy UDP listener can be interrupted without authentication, while confidentiality and integrity remain unaffected.
The record
- CVE
- CVE-2023-46566
- Published
- Apr 29, 2024
- Updated
- Aug 2, 2024
- Vendor
- Michael P. Soulier
- Product
- tftpy
- Classifications
- CWE-120, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 29, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=-
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- One-byte UDP datagram proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo