Nixpkgs Security Tracker

Login with GitHub

Suggestions search

With package: tcpflow

Found 1 matching suggestions

Published
updated 1 month ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
tcpflow has TIM Element OOB Write in wifipcap

tcpflow is a TCP/IP packet demultiplexer. In versions up to and including 1.61, wifipcap parses 802.11 management frame elements and performs a length check on the wrong field when handling the TIM element. A crafted frame with a large TIM length can cause a 1-byte out-of-bounds write past `tim.bitmap[251]`. The overflow is small and DoS is the likely impact; code execution is potential, but still up in the air. The affected structure is stack-allocated in `handle_beacon()` and related handlers. As of time of publication, no known patches are available.

Affected products

tcpflow
  • ==<= 1.61

Matching in nixpkgs

Package maintainers

Upstream advisory: https://github.com/simsong/tcpflow/security/advisories/GHSA-q5q6-frrv-9rj6
Upstream patch: https://github.com/simsong/tcpflow/commit/1d84fe8d59bb52c9a9da446a0fe6a31b2de15612