7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Tftp: tftp-hpa: denial of service due to out-of-bounds read/write in remap engine
A flaw was found in tftp-hpa. When the `in.tftpd` remap engine processes an inverse remap rule that also aborts with a non-empty custom error message, it can pass invalid match offsets to the `genmatchstring()` function. This leads to out-of-bounds read/write operations. A remote, unauthenticated attacker can exploit this vulnerability by sending a specially crafted request, causing the daemon to crash and resulting in a denial of service.
References
Affected products
Matching in nixpkgs
pkgs.lfe
Best of Erlang and of Lisp; at the same time
pkgs.atftp
Advanced tftp tools
pkgs.rs-tftpd
TFTP Server Daemon implemented in Rust
pkgs.tftp-hpa
TFTP tools - a lot of fixes on top of BSD TFTP
-
nixos-unstable -
- nixos-unstable-small 5.2-unstable-2024-06-10
-
nixos-26.05 -
- nixos-26.05-small 5.2-unstable-2024-06-10
pkgs.netkittftp
Netkit TFTP client and server
pkgs.beam27Packages.pc
Rebar3 port compiler for native code
pkgs.beam27Packages.lfe
Best of Erlang and of Lisp; at the same time
pkgs.python313Packages.tftpy
Pure Python TFTP library
pkgs.python314Packages.tftpy
Pure Python TFTP library
pkgs.beamMinimal27Packages.pc
Rebar3 port compiler for native code
pkgs.beamMinimal27Packages.lfe
Best of Erlang and of Lisp; at the same time
pkgs.python313Packages.partftpy
Pure Python TFTP library (copyparty fork of tftpy)
pkgs.python314Packages.partftpy
Pure Python TFTP library (copyparty fork of tftpy)
Package maintainers
-
@7c6f434c Michael Raskin <7c6f434c@mail.ru>
-
@DianaOlympos Thomas Depierre
-
@gleber Gleb Peregud <gleber.p@gmail.com>
-
@happysalada Raphael Megzari <raphael@megzari.com>
-
@adamcstephens Adam C. Stephens <happy.plan4249@valkor.net>
-
@yurrriq Eric Bailey <eric@ericb.me>
-
@ankhers Justin Wood <me@ankhers.dev>
-
@dlesl David Leslie <dlesl@dlesl.com>
-
@shelvacu Shelvacu <nix-maint@shelvacu.com>
-
@otavio Otavio Salvador <otavio.salvador@ossystems.com.br>
-
@MatthewCroughan Matthew Croughan <matt@croughan.sh>