Project

General

Profile

Actions

Security #8978

closed
JI PA

tcp: missing urgent policy preserves CVE-2024-55629 evasion

Security #8978: tcp: missing urgent policy preserves CVE-2024-55629 evasion

Added by Jason Ish 3 months ago. Updated 7 days ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Label:
CVE:
Git IDs:

f345ff472184cfe1ac845d43b819d3efbe19a5b2

Severity:
MODERATE
Disclosure Date:
11/28/2026

Description

  1. Summary

The remediation for CVE-2024-55629 depends on `stream.reassembly.urgent.policy` being set to `oob`, but the compiled fallback when the key is absent remains `TCP_STREAM_URGENT_INLINE`. Configurations inherited from 7.0.x therefore preserve the vulnerable behavior after an upgrade to 8.x or current main.

Fresh 8.x installations using the shipped configuration are protected because that configuration explicitly selects `oob`. The affected case is a missing or commented key, particularly after a configuration-preserving upgrade.

  1. Affected scope

- Suricata 7.0.8 through 7.0.17 shipped the urgent-policy setting commented out with `inline` shown as the value. The 7.0.x branch is now end of life, but these configurations are commonly carried into upgrades.
- Suricata 8.0.6 and current main retain `TCP_STREAM_URGENT_INLINE` as the compiled fallback. Their shipped configurations explicitly select `oob`, so fresh installations are protected.
- An 8.x or main deployment using a preserved configuration without the key resolves to `inline` and remains affected.

  1. Impact

For endpoints that treat TCP urgent data as out of band, Suricata can reconstruct a different application stream than the endpoint. A Linux endpoint with `SO_OOBINLINE` disabled removes the urgent byte from the normal stream, while Suricata's `inline` policy retains it. This discrepancy can be used to evade content inspection.

In the end-to-end demonstration, the client sent `GET /mali`, an `X` byte with `MSG_OOB`, and then `cious HTTP/1.1`. The Linux endpoint parsed `/malicious`, while Suricata using the missing-key fallback did not detect the malicious request.

  1. Reproducer

A Suricata-Verify reproducer based on `tcp-urgp-01-oob` uses the same pcap and rules but supplies a `suricata.yaml` without `stream.reassembly.urgent.policy`.

Observed results:

- On 8.0.6 with the missing-key configuration, sids 1000001, 1000002, and 1000003 produce zero alerts.
- On current main with the missing-key configuration, all three produce zero alerts.
- Adding `--set stream.reassembly.urgent.policy=oob` makes all three signatures alert once.
- A control capture without urgent data is detected under every tested configuration.

Available reproducer files are `suricata.rules`, `test.yaml`, `suricata.yaml`, and `tcp-urgent1.pcap`. End-to-end captures are `U1_urgent_split.pcap` and `U0_control_no_urg.pcap`.

  1. Remediation

Consider making the compiled fallback match the safe value shipped in 8.x, so an absent key resolves to `oob` rather than `inline`. Also consider:

- warning when the urgent-policy key is absent;
- adding an absent-key regression test;
- documenting the setting in upgrade guidance; and
- amending the existing advisory's version and migration guidance.

  1. Related identifiers

This is an incomplete-remediation and upgrade-configuration gap for Redmine #7411/#7412, CVE-2024-55629, and GHSA-69wr-vhwg-84h2. It uses the same vulnerability primitive and should remain under the existing CVE rather than receive a new identifier.

  1. Limitations

The end-to-end test used Linux 6.8 with default socket options. The demonstrated discrepancy applies to endpoints that treat urgent data as out of band.

  1. Credit
    Maksim Hayder
    GitHub: torjan0

Files

U1_urgent_split.pcap (1.47 KB) U1_urgent_split.pcap End-to-end urgent-data attack capture Jason Ish, 08/31/2026 03:14 PM
U0_control_no_urg.pcap (1.15 KB) U0_control_no_urg.pcap End-to-end control capture without urgent data Jason Ish, 08/31/2026 03:14 PM
suricata.rules (430 Bytes) suricata.rules Suricata-Verify reproducer rules Jason Ish, 08/31/2026 03:14 PM
test.yaml (987 Bytes) test.yaml Suricata-Verify test definition Jason Ish, 08/31/2026 03:14 PM
suricata.yaml (639 Bytes) suricata.yaml Suricata-Verify configuration with the urgent-policy key absent Jason Ish, 08/31/2026 03:14 PM
tcp-urgent1.pcap (1.68 KB) tcp-urgent1.pcap Suricata-Verify reproducer capture Jason Ish, 08/31/2026 03:14 PM

Subtasks 1 (0 open — 1 closed)

Security #8990: tcp: missing urgent policy preserves CVE-2024-55629 evasion (8.0.x backport)ClosedPhilippe AntoineActions

Related issues 1 (0 open — 1 closed)

Related to Suricata - Security #7411: tcp: generic detection bypass using TCP urgent supportClosedVictor JulienActions

JI Updated by Jason Ish 3 months ago Actions #1

  • Target version deleted (TBD)

JI Updated by Jason Ish 3 months ago Actions #3

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Victor Julien
  • Target version set to 9.0.0-beta1

JI Updated by Jason Ish 3 months ago Actions #4

  • Label Needs backport to 8.0 added

OT Updated by OISF Ticketbot 3 months ago Actions #5

  • Subtask #8990 added

OT Updated by OISF Ticketbot 3 months ago Actions #6

  • Label deleted (Needs backport to 8.0)

JI Updated by Jason Ish 3 months ago Actions #8

  • Related to Security #7411: tcp: generic detection bypass using TCP urgent support added

PA Updated by Philippe Antoine 3 months ago Actions #9

  • Severity set to HIGH

HIGH as

you upgrade from 7.0 to 8 without changing your config, you are vulnerable to https://redmine.openinfosecfoundation.org/issues/7411 which is high

PA Updated by Philippe Antoine 3 months ago Actions #10

  • Status changed from Assigned to In Review
  • Assignee changed from Victor Julien to Philippe Antoine

I created a Gitlab MR

JI Updated by Jason Ish 3 months ago Actions #11

  • Description updated (diff)

JI Updated by Jason Ish 3 months ago Actions #12

  • GHSA set to GHSA-p4qf-fmff-f7mr

JI Updated by Jason Ish about 1 month ago Actions #13

  • Severity changed from HIGH to MODERATE

Reclassifying TCP bypasses to MODERATE.

PA Updated by Philippe Antoine 25 days ago Actions #14

  • Status changed from In Review to Resolved

staged

JI Updated by Jason Ish 25 days ago Actions #15

  • Git IDs updated (diff)

PA Updated by Philippe Antoine 25 days ago Actions #16

  • Status changed from Resolved to Closed

JI Updated by Jason Ish 7 days ago Actions #17

  • Private changed from Yes to No
Actions

Also available in: PDF Atom